123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314 |
- // This file is generated by Umi automatically
- // DO NOT CHANGE IT MANUALLY!
- // Created by Umi Plugin
-
- export interface IConfigFromPlugins {
- clientLoader?: {
-
- }
- title?: string
- styles?: any[]
- scripts?: any[]
- routes?: {
-
- }[]
- reactRouter5Compat?: {
-
- }
- presets?: string[]
- plugins?: string[]
- npmClient?: ("pnpm" | "tnpm" | "cnpm" | "yarn" | "npm")
- mountElementId?: string
- metas?: any[]
- links?: any[]
- historyWithQuery?: {
-
- }
- history?: {
- type?: ("browser" | "hash" | "memory")
- }
- headScripts?: any[]
- conventionRoutes?: {
- base?: string
- exclude?: any[]
- }
- base?: string
- writeToDisk?: boolean
- theme?: {
-
- }
- targets?: {
-
- }
- svgr?: {
-
- }
- svgo?: ({
-
- } | boolean)
- styleLoader?: {
-
- }
- srcTranspiler?: ("babel" | "esbuild" | "swc" | "none")
- sassLoader?: {
-
- }
- runtimePublicPath?: {
-
- }
- purgeCSS?: {
-
- }
- publicPath?: string
- proxy?: ({
-
- } | any[])
- postcssLoader?: {
-
- }
- outputPath?: string
- mfsu?: ({
- cacheDirectory?: string
- chainWebpack?: (() => any)
- esbuild?: boolean
- exclude?: any[]
- include?: string[]
- mfName?: string
- remoteAliases?: string[]
- remoteName?: string
- runtimePublicPath?: boolean
- shared?: {
-
- }
- strategy?: ("eager" | "normal")
- } | boolean)
- mdx?: {
- loader?: string
- loaderOptions?: {
-
- }
- }
- manifest?: {
-
- }
- lessLoader?: {
-
- }
- jsMinifierOptions?: {
-
- }
- jsMinifier?: ("esbuild" | "swc" | "terser" | "uglifyJs" | "none")
- inlineLimit?: number
- ignoreMomentLocale?: boolean
- https?: {
-
- }
- hash?: boolean
- forkTSChecker?: {
-
- }
- fastRefresh?: boolean
- extraPostCSSPlugins?: any[]
- extraBabelPresets?: any[]
- extraBabelPlugins?: any[]
- extraBabelIncludes?: any[]
- externals?: ({
-
- } | string | (() => any))
- esm?: {
-
- }
- devtool?: (string | boolean)
- depTranspiler?: ("babel" | "esbuild" | "swc" | "none")
- define?: {
-
- }
- deadCode?: {
-
- }
- cssMinifierOptions?: {
-
- }
- cssMinifier?: ("cssnano" | "esbuild" | "parcelCSS" | "none")
- cssLoaderModules?: {
-
- }
- cssLoader?: {
-
- }
- copy?: any[]
- chainWebpack?: (() => any)
- cacheDirectoryPath?: string
- babelLoaderCustomize?: string
- autoprefixer?: {
-
- }
- autoCSSModules?: boolean
- alias?: {
-
- }
- crossorigin?: (boolean | {
- include?: {
-
- }[]
- })
- esmi?: {
- cdnOrigin?: string
- shimUrl?: string
- }
- favicons?: string[]
- mock?: {
- exclude?: string[]
- include?: string[]
- }
- mpa?: {
- template?: string
- getConfigFromEntryFile?: boolean
- }
- polyfill?: {
- imports?: string[]
- }
- routePrefetch?: {
-
- }
- ssr?: {
- serverBuildPath?: string
- platform?: string
- }
- terminal?: {
-
- }
- tmpFiles?: boolean
- lowImport?: {
- libs?: any[]
- css?: string
- }
- vite?: {
-
- }
- apiRoute?: {
- platform?: string
- }
- monorepoRedirect?: (boolean | {
- srcDir?: string[]
- exclude?: {
-
- }[]
- })
- clickToComponent?: {
- editor?: string
- }
- legacy?: {
- buildOnly?: boolean
- nodeModulesTransform?: boolean
- }
- verifyCommit?: {
- scope?: string[]
- allowEmoji?: boolean
- }
- run?: {
- globals?: string[]
- }
- access?: ({
-
- } | boolean)
- analytics?: ({
-
- } | boolean)
- antd?: ({
- configProvider?: {
-
- }
- dark?: boolean
- compact?: boolean
- import?: boolean
- style?: ("less" | "css")
- } | boolean)
- dva?: ({
- extraModels?: string[]
- immer?: {
-
- }
- } | boolean)
- initialState?: ({
- loading?: string
- } | boolean)
- layout?: ({
-
- } | boolean)
- locale?: ({
- default?: string
- useLocalStorage?: boolean
- baseNavigator?: boolean
- title?: boolean
- antd?: boolean
- baseSeparator?: string
- } | boolean)
- mf?: {
- name?: string
- remotes?: {
- aliasName?: string
- name?: string
- entry?: string
- entries?: {
-
- }
- keyResolver?: string
- }[]
- shared?: {
-
- }
- library?: {
-
- }
- }
- model?: ({
- extraModels?: string[]
- } | boolean)
- moment2dayjs?: ({
- preset?: string
- plugins?: any[]
- } | boolean)
- qiankun?: ({
- slave?: {
-
- }
- master?: {
-
- }
- externalQiankun?: boolean
- } | boolean)
- request?: ({
- dataField?: ""
- } | boolean)
- tailwindcss?: ({
-
- } | boolean)
- openAPI?: ({
- requestLibPath?: string
- schemaPath?: string
- mock?: boolean
- projectName?: string
- apiPrefix?: (string | (() => any))
- namespace?: string
- hook?: {
- customFunctionName?: (() => any)
- customClassName?: (() => any)
- }
- }[] | {
- requestLibPath?: string
- schemaPath?: string
- mock?: boolean
- projectName?: string
- apiPrefix?: (string | (() => any))
- namespace?: string
- hook?: {
- customFunctionName?: (() => any)
- customClassName?: (() => any)
- }
- })
- keepalive?: any[]
- tabsLayout?: (boolean | {
- hasCustomTabs?: boolean
- })
- }
|