“Uncaught SyntaxError: Strict mode code may not include a with statement” error after building an Angular app
Closed this issue · 1 comments
Anexo commented
I've built an application using Angular 8.
When serving the application everything worked correctly (with ng serve).
But if I build the app for production (ng build --prod), once I upload it to a web browser, I get a blank page and the following error on the console:
Uncaught SyntaxError: Strict mode code may not include a with statement
It only get fix, if I uninstall this package, but I would like to continue using it. Have anyone encounter this issue before?
Thanks,
Anexo commented
I fixed it on a fork and sent a pull request.