1 | {
|
2 | "presets": [
|
3 | [
|
4 | "@babel/preset-env",
|
5 | {
|
6 | "loose": true,
|
7 | "exclude": ["transform-typeof-symbol"],
|
8 | "targets": {
|
9 | "browsers": [">0.5%", "not dead", "not ie <= 11", "not op_mini all"]
|
10 | }
|
11 | }
|
12 | ],
|
13 | "@babel/preset-react",
|
14 | "minify"
|
15 | ],
|
16 | "plugins": [
|
17 | ["babel-plugin-transform-react-remove-prop-types", { "mode": "wrap" }],
|
18 | ["@babel/plugin-proposal-class-properties", { "loose": true }],
|
19 | ["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": true }],
|
20 | [
|
21 | "babel-plugin-module-resolver",
|
22 | {
|
23 | "root": ["./src/"],
|
24 | "alias": { "expo": "./src/expo.web.js" }
|
25 | }
|
26 | ]
|
27 | ]
|
28 | }
|