X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=aac1c8cdd00740db11a5c031b31b14c850049c17;hb=410724041bab556be1385c56f9a32e5030f6f2cf;hp=9e8cd65bb0317152141a539de08f8d64c16a2c6c;hpb=4270ca02532054662207828f2da0659b51093369;p=poolifier.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 9e8cd65b..aac1c8cd 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -41,6 +41,7 @@ export default defineConfig([ }), ...(!isDevelopmentBuild && { file: './lib/index.js', + sourcemap: true, plugins: [terser({ maxWorkers })] }) }, @@ -56,6 +57,7 @@ export default defineConfig([ }), ...(!isDevelopmentBuild && { file: './lib/index.mjs', + sourcemap: true, plugins: [terser({ maxWorkers })] }) } @@ -72,9 +74,7 @@ export default defineConfig([ ], plugins: [ typescript({ - tsconfig: isDevelopmentBuild - ? './tsconfig.development.json' - : './tsconfig.production.json' + tsconfig: './tsconfig.build.json' }), del({ targets: ['./lib/*']