Skip to content

Commit

Permalink
fix mjs config writing (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored Jan 15, 2024
1 parent de7b332 commit 23c0264
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-emus-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-fuse-app': patch
---

Fix writing of `.mjs` next config
2 changes: 1 addition & 1 deletion packages/create-fuse-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async function createFuseApp() {
})
if (result.code) {
await fs.writeFile(
resolve(targetDir, 'next.config.js'),
resolve(targetDir, 'next.config.mjs'),
result.code,
'utf-8',
)
Expand Down

1 comment on commit 23c0264

@vercel
Copy link

@vercel vercel bot commented on 23c0264 Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

spacex-fuse – ./examples/spacex

spacex-fuse.vercel.app
spacex-fuse-stellate.vercel.app
spacex-fuse-git-main-stellate.vercel.app

Please sign in to comment.