-
Notifications
You must be signed in to change notification settings - Fork 11
/
babel.config.js
30 lines (30 loc) · 1.14 KB
/
babel.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
[
"babel-plugin-module-resolver",
{
root: ["./src"],
alias: {
locale: "./src/locale",
config: "./src/config",
images: "./src/asset/image",
icons: "./src/module/common/icons",
"near-peersyst-sdk": "./src/module/sdk",
"@peersyst/react-native-transak-sdk": "./src/module/transak",
module: "./src/module",
utils: "./src/utils",
"stack-navigator": "./src/Stack.ts",
"query-utils": "./src/query/react-query-overrides.ts",
"test-mocks": "./test/__mocks__"
},
},
],
["@babel/plugin-proposal-async-generator-functions"],
"transform-inline-environment-variables",
"react-native-reanimated/plugin"
],
};
};