mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: 修复 webpack 修改文件重复编译问题
This commit is contained in:
parent
2f1c551522
commit
fb3b5a6dd1
@ -284,6 +284,10 @@ export default async function getConfig({ api, cwd, config, env, entry = {}, mod
|
||||
level: 'error',
|
||||
...memo.infrastructureLogging,
|
||||
};
|
||||
memo.watchOptions = {
|
||||
aggregateTimeout: 200,
|
||||
...memo.watchOptions,
|
||||
};
|
||||
memo.output = {
|
||||
...memo.output,
|
||||
assetModuleFilename: 'static/[name][hash:8][ext]',
|
||||
|
Loading…
x
Reference in New Issue
Block a user