Skip to content
New issue

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

Angular application production build error #84

Closed
op01 opened this issue Oct 7, 2017 · 3 comments
Closed

Angular application production build error #84

op01 opened this issue Oct 7, 2017 · 3 comments

Comments

@op01
Copy link
Contributor

op01 commented Oct 7, 2017

I created an angular application using @angular/cli. During development it was fine. But when I built it with a production flag turned on ng build --prod, I got an error

ERROR in vendor.e2c2049abe5ab17d4902.bundle.js from UglifyJs
Unexpected token: punc ()) [vendor.e2c2049abe5ab17d4902.bundle.js:15098,14]
@khorark
Copy link

khorark commented Oct 9, 2017

Hi. See issue #83

@crabbly
Copy link
Owner

crabbly commented Oct 9, 2017

Hi @op01 , as @khorark mentioned, this is the same issue reported in #83. Currently opened. I'll close this (84) / move it to 83.

@crabbly crabbly closed this as completed Oct 9, 2017
@crabbly
Copy link
Owner

crabbly commented Dec 6, 2017

The latest npm package version won't import ES6 code anymore. This should prevent issues for anybody using compilers that do not read ES6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants