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
{{ message }}
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.
🚀 Merge babel-plugin-fbt-runtime into babel-plugin-fbt
The old behavior of babel-plugin-fbt should be configurable via plugin option and
babel-plugin-fbt-runtime
should simply be "on" by default.Motivation
babel-plugin-fbt-runtime
being written as a separate plugin is largely due to historical reasons and to Facebook's own internal usage patterns. It's not exactly optimal from an end-user app-developer perspective. Ease the pain, and merge the pluginsExample
A webpack plugin configuration of
would instead look like:
FB usage of the
babel-plugin-fbt
Babel transform would be called via:or via some better named boolean.
Pitch
2 plugins is 1 too many. Some might argue, 2, too many.
The text was updated successfully, but these errors were encountered: