diff --git a/packages/fes-preset-built-in/src/plugins/features/hardSource.js b/packages/fes-preset-built-in/src/plugins/features/hardSource.js index 465eb318..520a2332 100644 --- a/packages/fes-preset-built-in/src/plugins/features/hardSource.js +++ b/packages/fes-preset-built-in/src/plugins/features/hardSource.js @@ -23,7 +23,7 @@ export default (api) => { environmentHash: { root: cwd, files: ['package-lock.json', 'yarn.lock'].concat( - Array.isArray(configFiles) ? configFiles : [configFiles] + Array.isArray(configFiles) ? configFiles : [] ) }, ...api.config.hardSource || {}