rollup 打包问题修复
This commit is contained in:
1 parent
f65f27e6d5
commit
5c6d386b15
7 files changed
+55
-11
No files matched your search
+1
-1
@@ -22,7 +22,7 @@ function createWin() {
|
||||
|
||||
const URL = is_dev
|
||||
? `http://localhost:${process.env.PORT}` // vite 启动的服务器地址
|
||||
: `file://${join(__dirname, '../../dist/render/index.html')}` // vite 构建后的静态文件地址
|
||||
: `file://${join(__dirname, '../render/index.html')}` // vite 构建后的静态文件地址
|
||||
|
||||
win.loadURL(URL)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user