fix: correct load sourcemap #332

This commit is contained in:
草鞋没号 2023-02-02 22:07:51 +08:00
parent 40b8c08cf9
commit b2f8887fab

View File

@ -47,7 +47,7 @@ export default defineConfig(({ command }) => {
},
vite: {
build: {
sourcemap,
sourcemap: sourcemap ? 'inline' : undefined, // #332
minify: isBuild,
outDir: 'dist-electron/preload',
rollupOptions: {