When running rollup using the rollup-plugin-uglify I get an error:
(uglify plugin) Error:sourcemapis not a supported option
It seems to have to do with an update to the serialize-javascript plugin where they no longer remove keys that has an undefined value. Hence the sourcemap (all lowercase) option is passed to uglify that throws an error since that is an invalid option (should be camelcased).
This error also happens for the numWorkers option.
Hi!
When running rollup using the rollup-plugin-uglify I get an error:
(uglify plugin) Error:
sourcemapis not a supported option
It seems to have to do with an update to the serialize-javascript plugin where they no longer remove keys that has an undefined value. Hence the sourcemap (all lowercase) option is passed to uglify that throws an error since that is an invalid option (should be camelcased).
This error also happens for the numWorkers option.