mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(generator): allow passing builder
to getGenerator
(#9574)
This commit is contained in:
parent
a418371e27
commit
1b66e9c688
@ -1,6 +1,6 @@
|
||||
import Generator from './generator'
|
||||
export { default as Generator } from './generator'
|
||||
|
||||
export function getGenerator (nuxt) {
|
||||
return new Generator(nuxt)
|
||||
export function getGenerator (nuxt, builder) {
|
||||
return new Generator(nuxt, builder)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user