Skip to content

Commit

Permalink
add missing g in next.config.js file name (#3713)
Browse files Browse the repository at this point in the history
* feat: added missing g in confi.js

* Add Changeset

Co-authored-by: beerose <[email protected]>
  • Loading branch information
prisis and beerose authored Aug 12, 2022
1 parent 6baab19 commit 37623a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/smooth-rice-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@blitzjs/generator": patch
---

Fix typo in a next.config.js file name
2 changes: 1 addition & 1 deletion packages/generator/src/utils/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 37623a4

Please sign in to comment.