electron-vite-vue/electron/electron-env.d.ts
2022-09-14 08:22:17 +08:00

25 lines
558 B
TypeScript

/// <reference types="vite-plugin-electron/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
* │
* ```
*/
DIST: string
/** /dist/ or /public/ */
PUBLIC: string
}
}