-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Create a NodeJS package with two Typescript modules, one as the main module to be run, and the other to be imported inside the main one. Then, add a different npm scripts inside the package.json to run the main module without compiling it in different ways.
Don't use tsc.
What to google
tsxts-nodenode --loader
Suggested resources
- https://nodejs.org/en/learn/getting-started/nodejs-with-typescript#nodejs-with-typescript
- https://nodejs.org/api/module.html#customization-hooks (Don't become obsessed with fully understanding this resource)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels