mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
fix: load sourcemap BUG
This commit is contained in:
parent
eb0753ea72
commit
862523fdbf
@ -11,9 +11,9 @@ export default defineConfig({
|
||||
formats: ['cjs'],
|
||||
fileName: () => '[name].cjs',
|
||||
},
|
||||
sourcemap: true,
|
||||
minify: process.env./* from mode option */NODE_ENV === 'production',
|
||||
emptyOutDir: true,
|
||||
// https://github.com/caoxiemeihao/electron-vue-vite/issues/61
|
||||
sourcemap: 'inline',
|
||||
rollupOptions: {
|
||||
external: [
|
||||
'electron',
|
||||
|
Loading…
x
Reference in New Issue
Block a user