v2.1.0: use vite-electron-plugin instead vite-plugin-electron

This commit is contained in:
草鞋没号 committed 2022-10-03 10:43:13 +08:00
1 parent b2a073cc8d
commit 1754306625
9 files changed
+63 -70

No files matched your search

+3 -5
View File
@@ -2,11 +2,11 @@
"name": "electron-vite-react",
"productName": "Electron",
"private": true,
"version": "2.0.0",
"version": "2.1.0",
"description": "Vite React Electron boilerplate.",
"author": "草鞋没号 <308487730@qq.com>",
"license": "MIT",
"main": "dist/electron/main/index.js",
"main": "dist-electron/main/index.js",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && electron-builder"
@@ -26,12 +26,10 @@
"sass": "^1.54.4",
"typescript": "^4.7.4",
"vite": "^3.0.7",
"vite-plugin-electron": "^0.9.2"
"vite-electron-plugin": "^0.4.1"
},
"debug": {
"env": {
"VITE_DEV_SERVER_HOSTNAME": "127.0.0.1",
"VITE_DEV_SERVER_PORT": 7777,
"VITE_DEV_SERVER_URL": "http://127.0.0.1:7777"
}
}