aboutsummaryrefslogtreecommitdiffstats
path: root/babel.config.js
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-11 00:08:35 +0000
committerMohamedBassem <me@mbassem.com>2024-03-11 00:08:58 +0000
commit31a8d46644606fe5778677d78c137decf5f5da45 (patch)
treed51799a2790e3a95830ac35acbe3c1a89825ca75 /babel.config.js
parentf14c6f43c386fde627d786cf695c63eb1feab09a (diff)
downloadkarakeep-31a8d46644606fe5778677d78c137decf5f5da45.tar.zst
prep: Setup nativecn-ui
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",
+ ],
};
};