Support typescript-go for builds #81472
michaelhays
started this conversation in
Ideas
Replies: 1 comment
-
the 'what works so far' section in the tsgo repo is relevant here. curious what bits next will need to wait on. huge win if local dev page compile times could be faster. this is a real log from my local dev experience in a big monorepo frontend:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
When building a Next.js app, it would be great to run the typecheck with the native preview,
tsgo
.This would drastically improve build times.
Proposal
I attempted to make this work locally by updating
node_modules/next/
, specifically by adding@typescript/native-preview
as an item here, and changing thetsPath
from'typescript'
to'@typescript/native-preview'
here. This didn't quite work, so there is probably more effort needed here.Beta Was this translation helpful? Give feedback.
All reactions