esbuild-node-loader
esbuild-node-loader copied to clipboard
Transpile TypeScript to ESM with Node.js loader.
Hey, thanks for building the package! Re: https://github.com/antfu/esbuild-node-loader/pull/34 I've looked at the code and I think it's a little dangerous to allow `https` imports without even mentioning anything in the...
When running with this loader, stack trace errors are incorrect. ## Recipe Create a basic test file that has a comment in it, like so: ``` $ cat test.ts //...
I use it in pair with uvu to transpile typescript. When I'm trying to test a file than imports, for instance, a png file (which is set up as `--loader:.png=file`...
Hello, I'd like to use `esbuild-node-loader` with Linaria but it requires to use a plugin for esbuild. Would be cool for this loader to support plugins (if it's possible)
https://github.com/evanw/esbuild/pull/1881 Now esbuild has made public its resolve api. Seems it can make the resolution process more effective.
DeprecationWarning: Obsolete loader hook(s) supplied and will be ignored: getFormat, transformSource
getFormat, getSource, and transformSource [deprecated ](https://nodejs.org/api/esm.html#loadurl-context-defaultload) Now it one all-in-one hook `load`
According to the esbuild docs [here](https://esbuild.github.io/api/#tsconfig-raw), the transform API doesn't read from the filesystem, and doesn't resolve the tsconfig. I'm using MobX, and I need to define `useDefineForClassFields` in tsconfig...
test in #9 ``` > [email protected] generate > node --experimental-loader esbuild-node-loader src/schema.ts (node:90371) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time (Use `node --trace-warnings ...`...