Secondary Babel transform for the FBT internationalization framework, version 1.0.0. This plugin complements babel-plugin-fbt by transpiling fbt._(...) calls into runtime payloads consumable by the fbt runtime. It is required for end-to-end usage of the fbt library in production. The package has no release cadence; it is a companion to the broader fbt ecosystem maintained by Facebook. Alternative: no direct alternative for this specific transform step.
npm install babel-plugin-fbt-runtimeVerified import paths — ran on the pinned version, not inferred.
Setup Babel to use both fbt plugins: primary and runtime transforms.
Ensure order: first babel-plugin-fbt, then babel-plugin-fbt-runtime.
Migrate to a more modern i18n solution.
Run: npm install babel-plugin-fbt --save-dev
npm install --save-dev babel-plugin-fbt-runtime
Add 'babel-plugin-fbt-runtime' to your Babel plugins after babel-plugin-fbt.