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 -16
View File
@@ -1,22 +1,9 @@
/// <reference types="vite-plugin-electron/electron-env" />
/// <reference types="vite-electron-plugin/electron-env" />
declare namespace NodeJS {
interface ProcessEnv {
/**
* The built directory structure
*
* ```tree
* ├─┬ dist
* │ ├─┬ electron
* │ │ ├─┬ main
* │ │ │ └── index.js
* │ │ └─┬ preload
* │ │ └── index.js
* │ ├── index.html
* │ ├── ...other-static-files-from-public
* │
* ```
*/
VSCODE_DEBUG?: 'true'
DIST_ELECTRON: string
DIST: string
/** /dist/ or /public/ */
PUBLIC: string