aboutsummaryrefslogtreecommitdiffstats
path: root/babel.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/babel.config.js b/babel.config.js
index 13eb4f7a..77c28f95 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,7 +1,9 @@
module.exports = function(api) {
api.cache(true);
return {
- presets: ["babel-preset-expo"],
- plugins: ["nativewind/babel"],
+ presets: [
+ ["babel-preset-expo", { jsxImportSource: "nativewind" }],
+ "nativewind/babel",
+ ],
};
};