diff --git a/.gitignore b/.gitignore index 7f0586f420c1a3a5ef5fa15ce00c87eb45a81f2f..89543e7bff7b92f6da32005aa26439fb4a1be84b 100755 --- a/.gitignore +++ b/.gitignore @@ -28,11 +28,11 @@ jsconfig.json *.log functions/mock -.temp/** +.temp # umi .umi .umi-production # screenshot -screenshot \ No newline at end of file +screenshot diff --git a/config/config.js b/config/config.js index 909a13a29990e6f34daa01376f9dfbbc1b2c3a0a..5fa04ed522ae6241f583320c8228f027cea7d5b6 100644 --- a/config/config.js +++ b/config/config.js @@ -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'],