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 = {
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)
Original file line number Diff line number Diff line change 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 },
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"
You can’t perform that action at this time.
0 commit comments