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 3ff7d82fa7
commit cb5621a3cf
1 changed files with 1 additions and 0 deletions

View File

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