fix(generator): allow passing builder to getGenerator (#9574)

This commit is contained in:
mrazauskas 2021-08-12 11:47:38 +03:00 committed by GitHub
parent a418371e27
commit 1b66e9c688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
import Generator from './generator' import Generator from './generator'
export { default as Generator } from './generator' export { default as Generator } from './generator'
export function getGenerator (nuxt) { export function getGenerator (nuxt, builder) {
return new Generator(nuxt) return new Generator(nuxt, builder)
} }