You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The version 0.7.1 throws error while building with --prod flag. Debug the error with the following line: ng build --prod --named-chunks --verbose --build-optimizer=false --source-map
Removed the trailing comma and tried to build again but the error continues to another line as the file has trailing commas. Finally, downgraded back to 0.6.0 and it works fine. This version contains the uglified code with no trailing commas but the latest version has pretty code but with trailing commas.
The version
0.7.1
throws error while building with--prod
flag. Debug the error with the following line:ng build --prod --named-chunks --verbose --build-optimizer=false --source-map
And found the error on:
The line was causing the problem because of the trailing comma:
Removed the trailing comma and tried to build again but the error continues to another line as the file has trailing commas. Finally, downgraded back to
0.6.0
and it works fine. This version contains the uglified code with no trailing commas but the latest version has pretty code but with trailing commas.Just to add, I am using the library in my Angular 8 project - not directly building the library with
--prod
flag.The text was updated successfully, but these errors were encountered: