mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
fix: hardSourcePlugin优化
This commit is contained in:
parent
d5bfc61b01
commit
c29f705bd8
@ -23,7 +23,7 @@ export default (api) => {
|
|||||||
environmentHash: {
|
environmentHash: {
|
||||||
root: cwd,
|
root: cwd,
|
||||||
files: ['package-lock.json', 'yarn.lock'].concat(
|
files: ['package-lock.json', 'yarn.lock'].concat(
|
||||||
Array.isArray(configFiles) ? configFiles : [configFiles]
|
Array.isArray(configFiles) ? configFiles : []
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
...api.config.hardSource || {}
|
...api.config.hardSource || {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user