update: 注释掉 Electron 插件配置
This commit is contained in:
parent
7f02bd7c9b
commit
8dfa86e466
|
@ -2,7 +2,7 @@ import { fileURLToPath, URL } from 'node:url'
|
|||
|
||||
import { defineConfig, loadEnv } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import electron from 'vite-plugin-electron'
|
||||
// import electron from 'vite-plugin-electron'
|
||||
// import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
|
@ -18,9 +18,9 @@ export default defineConfig(({ command, mode }) => {
|
|||
return {
|
||||
plugins: [
|
||||
vue(),
|
||||
electron({
|
||||
entry: 'electron/main.js',
|
||||
}),
|
||||
// electron({
|
||||
// entry: 'electron/main.js',
|
||||
// }),
|
||||
// vueDevTools(),
|
||||
],
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in New Issue