From 1b66e9c688570b890a5f695f252794aa2ec8d2a7 Mon Sep 17 00:00:00 2001 From: mrazauskas <72159681+mrazauskas@users.noreply.github.com> Date: Thu, 12 Aug 2021 11:47:38 +0300 Subject: [PATCH] fix(generator): allow passing `builder` to `getGenerator` (#9574) --- packages/generator/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/generator/src/index.js b/packages/generator/src/index.js index 6e420c7e35..a1e2bdff92 100644 --- a/packages/generator/src/index.js +++ b/packages/generator/src/index.js @@ -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) }