diff --git a/lib/builder/generator.js b/lib/builder/generator.js index ed58526cea..8333e06cac 100644 --- a/lib/builder/generator.js +++ b/lib/builder/generator.js @@ -35,7 +35,7 @@ export default class Generator extends Tapable { await this.builder.build() } - await this.nuxt.applyPluginsAsync('generate', this) + await this.nuxt.applyPluginsAsync('generator', this) // Initialize dist directory if (init) {