feat: 编译exe问题调试
This commit is contained in:
@@ -7,6 +7,11 @@ export default defineConfig( async () => {
|
||||
|
||||
return {
|
||||
plugins: [electronBytecode({ entry: ".vite/build/main.js", keepSource: false })],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ['bytenode'],
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@main": resolve(__dirname, "./src/main"),
|
||||
|
||||
Reference in New Issue
Block a user