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

transform the code with babel or with a string #62

Open
acemtp opened this issue Jul 24, 2024 · 2 comments
Open

transform the code with babel or with a string #62

acemtp opened this issue Jul 24, 2024 · 2 comments

Comments

@acemtp
Copy link

acemtp commented Jul 24, 2024

we use babel and cannot use ts-loader patch etc...

we have a plugin that take a ts containing the string, want to pass it to your package and then send the new string back to babel.

how we could do that?

@GoogleFeud
Copy link
Owner

Hi! I think the easiest way to do it would be to setup typescript + ts-patch to transpile your code to javascript in a specific folder, and then let babel take it from there using the already transpiled javascript.

@acemtp
Copy link
Author

acemtp commented Jul 25, 2024

The thing is that we don't control the build. It's meteor that use Babel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants