Commit f9a06d9f authored by afc163's avatar afc163

update umi config by setting polyfill to IE11 and enable dynamicImport

parent b55ce83e
......@@ -28,7 +28,7 @@ jsconfig.json
*.log
functions/mock
.temp/**
.temp
# umi
.umi
......
......@@ -17,7 +17,8 @@ export default {
default: 'zh-CN', // default zh-CN
baseNavigator: true, // default true, when it is true, will use `navigator.language` overwrite default
},
polyfills: ['ie9'],
dynamicImport: true,
polyfills: ['ie11'],
...(!process.env.TEST && require('os').platform() === 'darwin'
? {
dll: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment