fix(generator): rename export hook to distRemoved

This commit is contained in:
Sébastien Chopin 2020-06-18 17:45:06 +02:00
parent 7f1429ebb3
commit 99432d5d94

View File

@ -239,7 +239,7 @@ export default class Generator {
consola.info(`Generating output directory: ${path.basename(this.distPath)}/`)
await this.nuxt.callHook('generate:distRemoved', this)
await this.nuxt.callHook('export:distCopied', this)
await this.nuxt.callHook('export:distRemoved', this)
// Copy static and built files
if (await fsExtra.exists(this.staticRoutes)) {