29 lines
976 B
JavaScript
29 lines
976 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true)
|
|
return {
|
|
presets: [
|
|
["babel-preset-expo", { jsxImportSource: "nativewind", unstable_transformImportMeta: true }],
|
|
"nativewind/babel",
|
|
],
|
|
plugins: [
|
|
["inline-import", { extensions: [".sql"] }],
|
|
[
|
|
"module-resolver",
|
|
{
|
|
root: ["./"],
|
|
alias: {
|
|
"es-toolkit/compat": "../../node_modules/es-toolkit/dist/compat/index.js",
|
|
"es-toolkit": "../../node_modules/es-toolkit/dist/index.js",
|
|
"better-auth/react": "../../node_modules/better-auth/dist/client/react/index.cjs",
|
|
"better-auth/client/plugins":
|
|
"../../node_modules/better-auth/dist/client/plugins/index.cjs",
|
|
"@better-auth/expo/client": "../../node_modules/@better-auth/expo/dist/client.cjs",
|
|
},
|
|
extensions: [".js", ".jsx", ".ts", ".tsx"],
|
|
},
|
|
],
|
|
"react-native-reanimated/plugin",
|
|
],
|
|
}
|
|
}
|