ts-eager
ts-eager copied to clipboard
Fast TypeScript runner using esbuild for eager compilation
Hi! This tool is really useful. Thank you for making it! When I try to run it on Windows I get an error: ``` > npx ts-eager --help Cannot find...
This PR adds support for `.cjs` and `.mjs` files by overriding their loader to `js`. Per [esbuild's `js` loader docs](https://esbuild.github.io/content-types/#javascript), the `js` loader supports `.cjs` and `.mjs` files and treats...
Hey, thanks for this! Curious if this has support or if you have plans to add support for esbuild plugins. Thanks.
Currently, this defaults to "browser" (see: https://esbuild.github.io/api/#platform) - Which then defines process.env.NODE_ENV to development OR production based on the minification option. - Specifying platform=node leaves this alone so you can...
I went to import [@sindresorhus/slugify](https://www.npmjs.com/package/@sindresorhus/slugify) which uses `module:true` in it's pacakge.json and it's .js files are esm. Here's a simple test case. ```typescript import slugify from '@sindresorhus/slugify' console.log(slugify('I ♥ Dogs'))...
It works great with nodemon, but it could work even better if the compilation didn't have to start from zero if one file changes.
Hey old friend! I was trying this tool out and ran into a recurring problem with esbuild: it needs to know whether to expect JSX or not. I have a...