Closed JackShell2020 closed 5 years ago
for example output: [{ file: 'index.js' },{ file: 'index.es.js' }] how can i set options of uglify, to make tow output files. one file use uglify, and another don't use
and ps, when i using uglify, sometimes, running 'rollup -c', it will no response
There is a solution in terser plugin. I recommend to use it instead of uglify. https://github.com/TrySound/rollup-plugin-terser#includeexclude
great. thanks
for example output: [{ file: 'index.js' },{ file: 'index.es.js' }] how can i set options of uglify, to make tow output files. one file use uglify, and another don't use
and ps, when i using uglify, sometimes, running 'rollup -c', it will no response