Skip to content

Commit 3504162

Browse files
committed
fix: disable Turbopack for production build to fix CI deployment
1 parent 206adb3 commit 3504162

File tree

3 files changed

+108
-1
lines changed

3 files changed

+108
-1
lines changed

next.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const nextConfig: NextConfig = {
99
// Configure base path for GitHub Pages (will be repository name)
1010
basePath: process.env.NODE_ENV === 'production' ? '/business-design-kit' : '',
1111
assetPrefix: process.env.NODE_ENV === 'production' ? '/business-design-kit' : '',
12+
// Disable telemetry for CI
13+
...(process.env.CI && { telemetry: { disabled: true } })
1214
};
1315

1416
export default nextConfig;

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbopack",
7-
"build": "next build --turbopack",
7+
"build": "next build",
88
"start": "next start",
99
"lint": "eslint",
1010
"export": "next export",

0 commit comments

Comments
 (0)