Produce sourcemaps always (debugging on prod is hard)

This commit is contained in:
Michcio 2022-09-23 11:53:19 +02:00
parent 8fcfdc88d8
commit e44be45c90

View file

@ -70,7 +70,7 @@ export default defineConfig(({ command, mode }) => {
outDir: __dirname + '/../../built/_client_dist_',
assetsDir: '.',
emptyOutDir: false,
sourcemap: process.env.NODE_ENV !== 'production',
sourcemap: true,
reportCompressedSize: false,
},
};