We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I build or serve using --prod I get:
ERROR in vendor.8ebdc3713b6c81a2665a.bundle.js from UglifyJs Unexpected character '`' [vendor.8ebdc3713b6c81a2665a.bundle.js:70273,25]
I don't have this without aot, what a mess!
@angular/cli: 1.0.0-rc.1 node: 6.9.2 os: win32 x64 @angular/common: 4.0.0-rc.2 @angular/compiler: 4.0.0-rc.2 @angular/core: 4.0.0-rc.2 @angular/forms: 4.0.0-rc.2 @angular/http: 4.0.0-rc.2 @angular/platform-browser: 4.0.0-rc.2 @angular/platform-browser-dynamic: 4.0.0-rc.2 @angular/router: 4.0.0-rc.2 @angular/cli: 1.0.0-rc.1 @angular/compiler-cli: 4.0.0-rc.2
The text was updated successfully, but these errors were encountered:
Did you change your tsconfig to output ES6? UglifyJS isn't compatible with ES6.
Sorry, something went wrong.
you mean target? here's my tsconfig.app.json
{ "compilerOptions": { "sourceMap": true, "declaration": false, "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": [ "es2016", "dom" ], "outDir": "../out-tsc/app", "target": "es5", "module": "es2015", "baseUrl": "", "types": [] }, "exclude": [ "test.ts", "**/*.spec.ts" ] }
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
No branches or pull requests
When I build or serve using --prod I get:
I don't have this without aot, what a mess!
Config:
@angular/cli: 1.0.0-rc.1
node: 6.9.2
os: win32 x64
@angular/common: 4.0.0-rc.2
@angular/compiler: 4.0.0-rc.2
@angular/core: 4.0.0-rc.2
@angular/forms: 4.0.0-rc.2
@angular/http: 4.0.0-rc.2
@angular/platform-browser: 4.0.0-rc.2
@angular/platform-browser-dynamic: 4.0.0-rc.2
@angular/router: 4.0.0-rc.2
@angular/cli: 1.0.0-rc.1
@angular/compiler-cli: 4.0.0-rc.2
The text was updated successfully, but these errors were encountered: