You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched existing issues before opening this one to avoid duplicates
I understand tsx aims for TypeScript parity and will not support arbitrary Node.js enhancements
This request cannot be made to Node.js directly, and is specific to tsx
I understand this form is not for addressing a bug or seeking help
Feature request
I would love it if you could add esbuild configuration for TSX to use (specifically plugins). I believe tsx uses esbuild internally, so this should be possible.
Motivations
Id like to be able to use plugins like esbuild-plugin-import-pattern with tsx.
Alternatives
No response
Additional context
No response
Contributions
I plan to open a pull request for this issue
I plan to make a financial contribution to this project
The text was updated successfully, but these errors were encountered:
tsx is designed to enhance Node with TypeScript support, requiring no configuration to get started.
Even if we wanted to add an esbuild config, we can't because tsx uses esbuild's Transform API to process TypeScript, which doesn't support plugins.
On the flip side, because tsx is built to enhance Node, you can customize it in the same way you would with Node itself. But, if esbuild plugin use is a must for you, using esbuild directly is recommended.
Precheck
Feature request
I would love it if you could add esbuild configuration for TSX to use (specifically plugins). I believe tsx uses esbuild internally, so this should be possible.
Motivations
Id like to be able to use plugins like
esbuild-plugin-import-pattern
with tsx.Alternatives
No response
Additional context
No response
Contributions
The text was updated successfully, but these errors were encountered: