mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Merge branch 'dev' of github.com:nuxt/nuxt.js into dev
This commit is contained in:
commit
71c34b1d7a
@ -26,12 +26,14 @@ export default class Generator extends Tapable {
|
|||||||
const s = Date.now()
|
const s = Date.now()
|
||||||
let errors = []
|
let errors = []
|
||||||
|
|
||||||
|
// Add flag to set process.generate
|
||||||
|
this.builder.forGenerate()
|
||||||
|
|
||||||
// Wait for nuxt be ready
|
// Wait for nuxt be ready
|
||||||
await this.nuxt.ready()
|
await this.nuxt.ready()
|
||||||
|
|
||||||
// Start build process
|
// Start build process
|
||||||
if (build) {
|
if (build) {
|
||||||
this.builder.forGenerate() // Add flag to set process.generate
|
|
||||||
await this.builder.build()
|
await this.builder.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user