Current State
Now that NodeJS provides (experimental) TypeScript support, we can likely move away from our custom TS loader approach.
We should just be able to establish some baseline pre-requisites like
- You will need to use Node >= 22.6.0 and set the
--experimental-strip-types flag
- (Optional) Install TypeScript into your project, e.g. npm i typescript --save-dev
- (Optional) Create a tsconfig.json file at the root of your project with these minimum configuration settings
If you're feeling adventurous, you can use >=23.x and omit the --experimental-strip-types flag. Keep an eye on this PR for when unflagged type-stripping support may come to Node LTS 22.x. 👀
Desired State
The desired state would be to not have to use the custom loader anymore. The docs are out of date as well as the API has changed anyway, as we can see per #187 .
Additional Context
Here is how it was done for Greenwood - ProjectEvergreen/greenwood#1250
Current State
Now that NodeJS provides (experimental) TypeScript support, we can likely move away from our custom TS loader approach.
wcc/docs/pages/docs.md
Line 287 in 7ee9188
We should just be able to establish some baseline pre-requisites like
--experimental-strip-typesflagDesired State
The desired state would be to not have to use the custom loader anymore. The docs are out of date as well as the API has changed anyway, as we can see per #187 .
Additional Context
Here is how it was done for Greenwood - ProjectEvergreen/greenwood#1250