Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate with tsx or esbuild? #15

Open
wh1t3cAt1k opened this issue Nov 10, 2024 · 1 comment
Open

How to integrate with tsx or esbuild? #15

wh1t3cAt1k opened this issue Nov 10, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@wh1t3cAt1k
Copy link

Hey, thanks a lot for picking up the torch, I was a big fan of the original ts-nameof package and have used it extensively.

Recently, because ts-node is becoming increasingly obsolete, I considered migrating to https://tsx.is/, which uses esbuild under the hood. However, the nameof syntax does not seem to work there, and looks like a plugin is needed.

Is it currently not supported, and is it a huge hassle to introduce it to this package?

Right now our project seems cursed to use old / slow versions of everything because we cannot get proper nameof support in the newer tooling...

@manuth
Copy link
Collaborator

manuth commented Nov 11, 2024

I actually came to think about adding esbuild support some time ago but didn't find any usable methods.

I'll dig into it sometime later. For now, I'm getting myself familiar with Rust in order to add SWC support.

PRs for an esbuild integration are welcome! So, if you want to try to add esbuild support on your own, I'll take whatever time necessary to help you getting it done.

@manuth manuth self-assigned this Nov 11, 2024
@manuth manuth added the enhancement New feature or request label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants