File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,12 @@ const nextConfig = {
97
97
] ,
98
98
} ,
99
99
// TODO(@avivkeller): Why can't this be used without this config?
100
- serverExternalPackages : [ 'twoslash' , 'typescript' ] ,
100
+ serverExternalPackages : [ 'twoslash' ] ,
101
101
outputFileTracingIncludes : {
102
102
// Twoslash needs TypeScript declarations
103
- '*' : [ '**/node_modules/typescript/lib/**' ] ,
103
+ '/*' : [
104
+ '../../node_modules/.pnpm/typescript@*/node_modules/typescript/lib/*.d.ts' ,
105
+ ] ,
104
106
} ,
105
107
// If we're building for the Cloudflare deployment we want to set
106
108
// an appropriate deploymentId (needed for skew protection)
Original file line number Diff line number Diff line change 74
74
"sval" : " ^0.6.3" ,
75
75
"tailwindcss" : " catalog:" ,
76
76
"twoslash" : " ^0.3.4" ,
77
- "typescript" : " catalog:" ,
78
77
"vfile" : " ~6.0.3" ,
79
78
"vfile-matter" : " ~5.0.1"
80
79
},
104
103
"stylelint-order" : " 7.0.0" ,
105
104
"stylelint-selector-bem-pattern" : " 4.0.1" ,
106
105
"tsx" : " ^4.20.3" ,
106
+ "typescript" : " catalog:" ,
107
107
"typescript-eslint" : " ~8.38.0" ,
108
108
"user-agent-data-types" : " 0.4.2" ,
109
109
"wrangler" : " ^4.26.1"
You can’t perform that action at this time.
0 commit comments