How could i disable UglifyJs in the client webpack config? #250
Closed
Description
Hi,
I'm using Nuxt for my current project and it's working kite well, but today got a problem trying to running it at production.
How could i disable the Uglify plugin when the NODE_ENV is production?
I'm trying to use Babili for minify code because my code is in ES6-ES7 and uglify does not support it for now. But it keeps calling the uglify plugin, throwing code 1 error and stopping the build. The only workarounds i know is set the NODE_ENV in developtment (not recommended) or code in ES2015.
Thanks.
Activity