1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

Include sourcemaps in vite when not running in production

This commit is contained in:
Andrew Kingston 2022-02-15 09:23:51 +00:00
parent f58a063a34
commit c82e9bc580

View file

@ -15,6 +15,7 @@ export default ({ mode }) => {
build: {
minify: isProduction,
outDir: "../server/builder",
sourcemap: !isProduction,
},
plugins: [
svelte({