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
As suggested by the article "You might not need to transpile your JavaScript" if one is targeting modern browsers than es6 should work as a target.
Angular 4.3.6 Angular cli 1.3.2
Change target in tsconfig.json to "es6"
ng build --bh /ui/ --prod --aot _Date: 2017-09-02T18:56:38.448Z Hash: 8032803bfa9cd5eeccc0 Time: 31830ms chunk {0} polyfills.427414a5bc7cff210ba6.bundle.js (polyfills) 98.1 kB {4} [initial] [rendered] chunk {1} main.65fe0ebc36062fa8f7ee.bundle.js (main) 945 kB {3} [initial] [rendered] chunk {2} styles.d41d8cd98f00b204e980.bundle.css (styles) 0 bytes {4} [initial] [rendered] chunk {3} vendor.cce22225937a659c544a.bundle.js (vendor) 959 kB [initial] [rendered] chunk {4} inline.1835379b8caad20d2658.bundle.js (inline) 1.45 kB [entry] [rendered] ERROR in main.65fe0ebc36062fa8f7ee.bundle.js from UglifyJs Unexpected token: punc ()) [main.65fe0ebc36062fa8f7ee.bundle.js:94,12]_
ES 6 target should build (and work in a modern browser)
The text was updated successfully, but these errors were encountered:
Support for ES6 is being tracked in #2907. Please subscribe to that issue for further updates.
Sorry, something went wrong.
Closing as answered by @devoto13, thanks 👍
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
As suggested by the article "You might not need to transpile your JavaScript" if one is targeting modern browsers than es6 should work as a target.
Versions.
Angular 4.3.6
Angular cli 1.3.2
Change target in tsconfig.json to "es6"
Desired functionality.
ES 6 target should build (and work in a modern browser)
The text was updated successfully, but these errors were encountered: