We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38fd283 commit 14a3753Copy full SHA for 14a3753
packages/pylon-dev/src/builder/index.ts
@@ -18,12 +18,12 @@ export {SchemaBuilder}
18
export const build = async (options: BuildOptions) => {
19
const bundler = new Bundler(options.sfiFilePath, options.outputFilePath)
20
21
- const builder = new SchemaBuilder(
22
- path.join(process.cwd(), options.sfiFilePath)
23
- )
24
-
25
return await bundler.build({
26
getBuildDefs: () => {
+ const builder = new SchemaBuilder(
+ path.join(process.cwd(), options.sfiFilePath)
+ )
+
27
const built = builder.build()
28
29
const typeDefs = built.typeDefs
0 commit comments