We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5941a9a commit 420458bCopy full SHA for 420458b
packages/plugin/vite/forge-vite-env.d.ts
@@ -1,4 +1,5 @@
1
export {}; // Make this a module
2
+import type { VitePluginConfig } from './src/Config';
3
4
declare global {
5
// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Vite
@@ -7,8 +8,6 @@ declare global {
7
8
const MAIN_WINDOW_VITE_DEV_SERVER_URL: string;
9
const MAIN_WINDOW_VITE_NAME: string;
10
- type VitePluginConfig = ConstructorParameters<typeof import('@electron-forge/plugin-vite').VitePlugin>[0];
11
-
12
interface VitePluginRuntimeKeys {
13
VITE_DEV_SERVER_URL: `${string}_VITE_DEV_SERVER_URL`;
14
VITE_NAME: `${string}_VITE_NAME`;
0 commit comments