diff --git a/lib/core/renderer.js b/lib/core/renderer.js index 7bf6cc3c3c..31cd8f3087 100644 --- a/lib/core/renderer.js +++ b/lib/core/renderer.js @@ -107,7 +107,7 @@ export default class Renderer extends Tapable { return this } - async loadResources (_fs) { + async loadResources (_fs = fs) { let distPath = resolve(this.options.buildDir, 'dist') let updated = []