forked from fleetbase/storefront-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
25 lines (25 loc) · 845 Bytes
/
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
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
'preval',
[
'module-resolver',
{
root: ['./src'],
extensions: ['.js', '.json'],
alias: {
account: './src/features/Account',
auth: './src/features/Auth',
browser: './src/features/Browser',
cart: './src/features/Cart',
core: './src/features/Core',
exceptions: './src/features/Exceptions',
network: './src/features/Network',
places: './src/features/Places',
shared: './src/features/Shared',
ui: './src/interface',
},
},
],
],
};