v2.1.0: use vite-electron-plugin instead vite-plugin-electron
This commit is contained in:
1 parent
b2a073cc8d
commit
1754306625
9 files changed
+63
-70
No files matched your search
Vendored
+3
-16
@@ -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
|
||||
|
||||
Reference in new issue
Block a user