|
|
|
@ -42,10 +42,12 @@ const plugins: IPlugin[] = [ |
|
|
|
}, |
|
|
|
} |
|
|
|
: false, |
|
|
|
dll: { |
|
|
|
include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'], |
|
|
|
exclude: ['@babel/runtime', 'netlify-lambda'], |
|
|
|
}, |
|
|
|
// default close dll, because issue https://github.com/ant-design/ant-design-pro/issues/4665
|
|
|
|
// dll features https://webpack.js.org/plugins/dll-plugin/
|
|
|
|
// dll: {
|
|
|
|
// include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'],
|
|
|
|
// exclude: ['@babel/runtime', 'netlify-lambda'],
|
|
|
|
// },
|
|
|
|
}, |
|
|
|
], |
|
|
|
[ |
|
|
|
|