diff --git a/.changeset/smooth-rice-clap.md b/.changeset/smooth-rice-clap.md new file mode 100644 index 0000000000..f456a0e3d4 --- /dev/null +++ b/.changeset/smooth-rice-clap.md @@ -0,0 +1,5 @@ +--- +"@blitzjs/generator": patch +--- + +Fix typo in a next.config.js file name diff --git a/packages/generator/src/utils/log.ts b/packages/generator/src/utils/log.ts index 58024601c3..0160807156 100644 --- a/packages/generator/src/utils/log.ts +++ b/packages/generator/src/utils/log.ts @@ -67,7 +67,7 @@ export function assignDefaultsBase(userConfig: {[key: string]: any}) { export function loadConfigProduction(pagesDir: string) { let userConfigModule try { - const path = join(pagesDir, "next.confi.js") + const path = join(pagesDir, "next.config.js") debug("Loading config from ", path) // eslint-disable-next-line no-eval -- block webpack from following this module path userConfigModule = eval("require")(path)