Prevent TypeScript from typechecking builds? #8817
Unanswered
aaronadamsCA
asked this question in
Q&A
Replies: 0 comments
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.
-
It's currently necessary to import your Remix build and pass it back to Remix, i.e. this adventure:
Unfortunately it seems that even if your
tsconfig.json
contains"exclude": ["build"]
, TypeScript will still follow the import and typecheck the build output, which emits all kinds of errors.Is there any way to prevent this? Or is this just a limitation of the current API, and it's impossible to get a passing typecheck without deleting Remix build output?
(I eagerly await the day this API can just take a string path to the build!)
Beta Was this translation helpful? Give feedback.
All reactions