diff --git a/scripts/rollup.js b/scripts/rollup.js index 9c11d28..dd218c6 100644 --- a/scripts/rollup.js +++ b/scripts/rollup.js @@ -58,7 +58,7 @@ function generateOutputs(config, options) { name: config.name, banner, globals: config.globals, - sourcemap: PROD, + sourcemap: PROD ? 'hidden' : false, plugins: PROD && minify ? [terser()] : [], }) } else {