mirror of
https://github.com/zuiidea/antd-admin.git
synced 2024-04-21 12:32:14 +00:00
chore config
This commit is contained in:
+4
-1
@@ -15,7 +15,7 @@ const config: IConfig = {
|
||||
publicPath: isDevelopment ? '/' : 'https://cdn.antd-admin.zuiidea.com/',
|
||||
hash: true,
|
||||
ignoreMomentLocale: true,
|
||||
targets: { ie: 9 },
|
||||
targets: { ie: 11 },
|
||||
dynamicImport: {},
|
||||
theme,
|
||||
proxy,
|
||||
@@ -44,6 +44,9 @@ const config: IConfig = {
|
||||
chainWebpack: (memo) => {
|
||||
memo.module.rule('po').test(/\.po$/).use('po').loader('@lingui/loader')
|
||||
},
|
||||
// 快速刷新功能 https://umijs.org/config#fastrefresh
|
||||
fastRefresh: {},
|
||||
esbuild: {},
|
||||
}
|
||||
|
||||
export default config
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
"@lingui/macro": "^3.8.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.20.0",
|
||||
"@typescript-eslint/parser": "^4.20.0",
|
||||
"@umijs/plugin-esbuild": "^1.2.0",
|
||||
"@umijs/preset-react": "^1.8.0",
|
||||
"babel-eslint": "^10.0.0",
|
||||
"babel-plugin-dev-expression": "^0.2.1",
|
||||
|
||||
Reference in New Issue
Block a user