Include sourcemaps in vite when not running in production
This commit is contained in:
parent
3ff7d82fa7
commit
cb5621a3cf
|
@ -15,6 +15,7 @@ export default ({ mode }) => {
|
|||
build: {
|
||||
minify: isProduction,
|
||||
outDir: "../server/builder",
|
||||
sourcemap: !isProduction,
|
||||
},
|
||||
plugins: [
|
||||
svelte({
|
||||
|
|
Loading…
Reference in New Issue