diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-11 00:08:35 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-11 00:08:58 +0000 |
| commit | 31a8d46644606fe5778677d78c137decf5f5da45 (patch) | |
| tree | d51799a2790e3a95830ac35acbe3c1a89825ca75 /babel.config.js | |
| parent | f14c6f43c386fde627d786cf695c63eb1feab09a (diff) | |
| download | karakeep-31a8d46644606fe5778677d78c137decf5f5da45.tar.zst | |
prep: Setup nativecn-ui
Diffstat (limited to 'babel.config.js')
| -rw-r--r-- | babel.config.js | 6 |
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", + ], }; }; |
