Skip to content

Commit 766b45b

Browse files
committed
fixup!
1 parent 265fcf8 commit 766b45b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

apps/site/next.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ const nextConfig = {
9797
],
9898
},
9999
// TODO(@avivkeller): Why can't this be used without this config?
100-
serverExternalPackages: ['twoslash', 'typescript'],
100+
serverExternalPackages: ['twoslash'],
101+
outputFileTracingExcludes: {
102+
// Twoslash needs TypeScript declarations
103+
'*': ['**/node_modules/typescript/lib/**'],
104+
},
101105
// If we're building for the Cloudflare deployment we want to set
102106
// an appropriate deploymentId (needed for skew protection)
103107
// TODO: The `OPEN_NEXT_CLOUDFLARE` environment variable is being

apps/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"sval": "^0.6.3",
7575
"tailwindcss": "catalog:",
7676
"twoslash": "^0.3.4",
77-
"typescript": "catalog:",
7877
"vfile": "~6.0.3",
7978
"vfile-matter": "~5.0.1"
8079
},
@@ -104,6 +103,7 @@
104103
"stylelint-order": "7.0.0",
105104
"stylelint-selector-bem-pattern": "4.0.1",
106105
"tsx": "^4.20.3",
106+
"typescript": "catalog:",
107107
"typescript-eslint": "~8.38.0",
108108
"user-agent-data-types": "0.4.2",
109109
"wrangler": "^4.26.1"

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)