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
{{ message }}
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
The issue is that if you used any ES6 code; and then attempt to use the --uglify flag; it will fail because uglify (non-es) doesn't support es6 constructs.
Some of my plugins are written as pure ES6, and so they cannot be webpacked with --uglify because of this issue... In addition if TypeScript is set to emit ES6 code; this issue will also occur.
The text was updated successfully, but these errors were encountered:
Any progress with this guys? I came across an issue when trying to use typescript powered Nativescript app + some plugins. Is there a recommended workaround to uglify es6 code until official support for es6+uglify is added?
Please upgrade the nativescript-webpack code to use the ES code branch:
https://github.com/noBlubb/uglify-es-webpack-plugin
The issue is that if you used any ES6 code; and then attempt to use the
--uglify
flag; it will fail because uglify (non-es) doesn't support es6 constructs.Some of my plugins are written as pure ES6, and so they cannot be webpacked with --uglify because of this issue... In addition if TypeScript is set to emit ES6 code; this issue will also occur.
The text was updated successfully, but these errors were encountered: