Skip to content

Commit 092d898

Browse files
Copilotabernier
andcommitted
Fix build issues for Next.js 16 with static export
- Change build script to use webpack instead of Turbopack (fixes proxy error) - Add error handling for CodeSandbox API fetch failures - Add error handling for OpenCollective API fetch failures - Replace Octokit with direct fetch to GitHub API - Add proper TypeScript typing for Contributors component Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
1 parent 408896e commit 092d898

File tree

4 files changed

+153
-292
lines changed

4 files changed

+153
-292
lines changed

package-lock.json

Lines changed: 52 additions & 228 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"dependencies": {
3434
"@codesandbox/sandpack-react": "^2.20.0",
35-
"@octokit/core": "^6.1.6",
35+
"@octokit/core": "^7.0.6",
3636
"@radix-ui/react-collapsible": "^1.1.12",
3737
"@radix-ui/react-dialog": "^1.1.15",
3838
"@radix-ui/react-visually-hidden": "^1.2.4",
@@ -59,7 +59,7 @@
5959
"scripts": {
6060
"dev": "NODE_OPTIONS='--inspect' next",
6161
"start": "next start",
62-
"build": "next build",
62+
"build": "next build --webpack",
6363
"format": "prettier -w src/",
6464
"lint": "eslint src/**/*.{ts,tsx} && prettier . --check",
6565
"prepare": "husky",

0 commit comments

Comments
 (0)