Skip to content

Commit 18a45c3

Browse files
Copilothotlong
andcommitted
fix: enable unstable_transformImportMeta globally for Hermes import.meta support
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 579d992 commit 18a45c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function (api) {
1111
? {}
1212
: {
1313
jsxImportSource: "nativewind",
14-
web: { unstable_transformImportMeta: true },
14+
unstable_transformImportMeta: true,
1515
},
1616
],
1717
...(isTest ? [] : ["nativewind/babel"]),

0 commit comments

Comments
 (0)