mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 12:06:40 +08:00
fix: correct load sourcemap #332
This commit is contained in:
parent
40b8c08cf9
commit
b2f8887fab
@ -47,7 +47,7 @@ export default defineConfig(({ command }) => {
|
||||
},
|
||||
vite: {
|
||||
build: {
|
||||
sourcemap,
|
||||
sourcemap: sourcemap ? 'inline' : undefined, // #332
|
||||
minify: isBuild,
|
||||
outDir: 'dist-electron/preload',
|
||||
rollupOptions: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user