This commit is contained in:
dap
2024-10-13 10:46:51 +08:00
2 changed files with 15 additions and 15 deletions

View File

@@ -139,12 +139,12 @@ type ApplicationOptions = ApplicationPluginOptions;
type LibraryOptions = LibraryPluginOptions;
type DefineApplicationOptions = (config: ConfigEnv) => Promise<{
type DefineApplicationOptions = (config?: ConfigEnv) => Promise<{
application?: ApplicationOptions;
vite?: UserConfig;
}>;
type DefineLibraryOptions = (config: ConfigEnv) => Promise<{
type DefineLibraryOptions = (config?: ConfigEnv) => Promise<{
library?: LibraryOptions;
vite?: UserConfig;
}>;