forked from blockfirm/pine-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.babelrc
28 lines (28 loc) · 849 Bytes
/
.babelrc
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
{
"presets": [
"module:metro-react-native-babel-preset",
"@babel/preset-flow"
],
"sourceMaps": true,
"plugins": [
"@babel/plugin-transform-flow-strip-types",
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
[
"rewrite-require",
{
"aliases": {
"crypto": "react-native-crypto",
"stream": "readable-stream",
"_stream_duplex": "readable-stream/duplex",
"_stream_passthrough": "readable-stream/passthrough",
"_stream_readable": "readable-stream/readable",
"_stream_transform": "readable-stream/transform",
"_stream_writable": "readable-stream/writable",
"vm": "vm-browserify"
},
"throwForNonStringLiteral": true
}
]
]
}