Merge branch 'develop-next' of https://github.com/zuiidea/antd-admin into develop-next

This commit is contained in:
zuiidea
2021-04-18 17:03:50 +08:00
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -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
+1
View File
@@ -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",