mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +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: {
|
vite: {
|
||||||
build: {
|
build: {
|
||||||
sourcemap,
|
sourcemap: sourcemap ? 'inline' : undefined, // #332
|
||||||
minify: isBuild,
|
minify: isBuild,
|
||||||
outDir: 'dist-electron/preload',
|
outDir: 'dist-electron/preload',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user