mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
* feat: 给使用mini-css-extract-plugin增加开关 * fix: add inlineLimit * fix: useExtraCSS 名称异常 --------- Co-authored-by: winixt <haizekuo@gmail.com>
15 lines
392 B
JavaScript
15 lines
392 B
JavaScript
// .fes.js 只负责管理编译时配置,只能使用plain Object
|
||
|
||
|
||
export default {
|
||
request: {
|
||
base: '/api'
|
||
},
|
||
chainWebpack(memo) {
|
||
memo.output.filename('./static/[name].[contenthash:8].js')
|
||
.chunkFilename('./static/[name].[contenthash:8].chunk.js')
|
||
.assetModuleFilename('./static/[hash][ext][query]');
|
||
},
|
||
useExtraCSS: false
|
||
};
|