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