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 f519996 commit 0ec10b5Copy full SHA for 0ec10b5
src/vite-config-base.ts
@@ -1,8 +1,9 @@
1
-import type { UserConfig } from 'vite';
+import type { BuildOptions, UserConfig, LibraryOptions } from 'vite';
2
3
interface UmbViteDefaultConfigArgs {
4
- dist: string;
5
- entry?: string[] | Record<string, string>;
+ dist: BuildOptions['outDir'];
+ entry?: LibraryOptions['entry'];
6
+ plugins: UserConfig['plugins'];
7
}
8
9
export const getDefaultConfig = (args: UmbViteDefaultConfigArgs): UserConfig => {
0 commit comments