Skip to content

Commit 774966b

Browse files
committed
Switch to turbopack
1 parent ed3b822 commit 774966b

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

nx.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@
2020
"{workspaceRoot}/tsconfig.base.json"
2121
],
2222
"production": ["default"]
23+
},
24+
"analytics": false,
25+
"tui": {
26+
"autoExit": true,
27+
"enabled": false
2328
}
2429
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"node": "^20.9.0 || >=22",
55
"pnpm": ">=10.6.2"
66
},
7+
"type": "module",
78
"scripts": {
89
"build": "nx run-many --target=build --exclude='@react-docgen-internal/*'",
910
"lint": "eslint . --report-unused-disable-directives --max-warnings=0",

packages/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"version": "0.0.0",
55
"description": "react-docgen website",
66
"scripts": {
7-
"dev": "nx exec -- next dev",
8-
"build": "NODE_ENV=production nx exec -- next build --webpack",
7+
"dev": "nx exec -- next dev --turbopack",
8+
"build": "NODE_ENV=production nx exec -- next build --turbopack",
99
"start": "nx exec -- next start",
1010
"postbuild": "next-sitemap && pagefind --site .next/server/app --output-path public/_pagefind"
1111
},

0 commit comments

Comments
 (0)