From bd0b6dd4d236c525fb6de203ff2a8507c7fb53d3 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Fri, 12 Sep 2025 11:41:59 +0200 Subject: [PATCH] remove sourcemaps from build --- packages/web/rollup.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web/rollup.config.js b/packages/web/rollup.config.js index e0f1c33bf..915b9a23c 100644 --- a/packages/web/rollup.config.js +++ b/packages/web/rollup.config.js @@ -37,7 +37,7 @@ export default [ { input: 'src/query/QueryParserWorker.js', output: { - sourcemap: true, + sourcemap: !production, format: 'iife', file: 'public/build/query-parser-worker.js', }, @@ -56,7 +56,7 @@ export default [ { input: 'src/main.ts', output: { - sourcemap: true, + sourcemap: !production, format: 'iife', name: 'app', file: 'public/build/bundle.js',