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.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c216">#c216</a>)</em></sub></div>