From ad7489d8692fb03547eb4b1c86f2e6ef2eb34f7f Mon Sep 17 00:00:00 2001 From: Alessandro Pignotti Date: Sun, 6 Oct 2024 09:05:24 +0200 Subject: [PATCH] Disable source map generation in production mode --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 84a303c..6f4370b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -19,7 +19,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url)); export default { input: 'src/main.js', output: { - sourcemap: true, + sourcemap: !production, format: 'esm', name: 'app', file: 'build/bundle.js'