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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fbt work with other compilers like SWC #392

Open
taozhou-glean opened this issue Jan 23, 2023 · 2 comments
Open

Make fbt work with other compilers like SWC #392

taozhou-glean opened this issue Jan 23, 2023 · 2 comments

Comments

@taozhou-glean
Copy link

馃殌 Feature Proposal

Right now it seems fbt is tightly coupled with babel, which makes it really hard to use for projects using other compilers, like SWC. It would be great if we can port the babel plugin over there or making fbt work more independent with the compiler.

Motivation

SWC and some other compilers are getting more attention recently because of the performance booster over babel, i think more projects may start adopting them, so having it not coupled with one particular compiler can be very beneficial.

Example

For projects using SWC that wants to use fbt as their i18n solution.

Pitch

it should be part of the fbt framework i believe.

@taozhou-glean
Copy link
Author

or let me know if there are already ways to use fbt without relying on babel ;) thanks!

@taozhou-glean
Copy link
Author

Also any plan to move fbt to ts ? right now the @types/fbt is quite outdated, it would be great to have better type support from the project directly ;)

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

1 participant