-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng build -prod unexpected token: name (BroccoliPlugin BundlePlugin failed), JS_PARSE_ERROR #1333
Comments
I can verify that this issue only exists when using tsconfig : |
I'm getting the same behavior after bumping to es6. |
The only way I could fix this was to revert back to es5, and fix other problems. |
I changed my module to es6 while targeting es6 and received a more verbose error from the cli. Turns out I had a module import syntax error in one of my source files. I fixed the error and can now |
Closed as issue was made obsolete by #1455. |
Thanks. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I recently update my project, and started using typescript target="es6", and now
ng build -prod
is failing. I haven't changed anything having to do with the classes involved:The text was updated successfully, but these errors were encountered: