Open gsmedley opened 5 years ago
@gsmedley the latest version of nativescript-dev-webpack seems to have the rewritten files in its code (e.g. here) - or do you mean that they should be re-written?
For me, Uglify is choking on the "const" in that file, above is how I rewrote them to work with Uglify. If you decide this is a good idea, should probably do load-application-css-regular.js as well.
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug Building with --env.uglify fails due to some ES6 code in nativescript-dev-webpack itself. None of my plugins have any and I was able to verify that changing two nativescript-dev-webpack files allowed uglify to run.
load-application-css-angular.js load-application-css.js
Rewritten as: