Skip to content

Commit 6353a75

Browse files
committed
test
1 parent 98f53e4 commit 6353a75

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

apps/site/next.config.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ const nextConfig = {
9797
],
9898
},
9999
// TODO(@avivkeller): Why can't this be used without this config?
100-
serverExternalPackages: ['twoslash', 'typescript'],
100+
serverExternalPackages: ['twoslash'],
101101
outputFileTracingIncludes: {
102102
// Twoslash needs TypeScript declarations
103-
'*': ['**/node_modules/typescript/lib/**'],
103+
'/*': [
104+
'../../node_modules/.pnpm/typescript@*/node_modules/typescript/lib/*.d.ts',
105+
],
104106
},
105107
// If we're building for the Cloudflare deployment we want to set
106108
// an appropriate deploymentId (needed for skew protection)

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"

0 commit comments

Comments
 (0)