This commit is contained in:
Oleksii Bulenok
2026-08-28 17:22:11 +02:00
parent e16a296a45
commit afdd8ba8c8
2 changed files with 269 additions and 0 deletions
+9
View File
@@ -51,6 +51,15 @@ module.exports = function (api) {
},
},
],
/*
* Runs in every env (including test) on purpose: Jest then executes the
* rewritten leaf imports, so plugin bugs surface in CI rather than in a
* production bundle.
*/
[
'./plugins/babel-plugin-lexicon-leaf-imports',
{roots: ['./src/lexicons']},
],
// cannot use `env` field because it will put them after
// the `react-native-worklets/plugin` plugin