Created
February 15, 2018 01:55
-
-
Save wldcordeiro/5ee9713f97cef8e7f389a33732494c9f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "presets": [ | |
| [ | |
| "@babel/preset-env", | |
| { | |
| "targets": { | |
| "browsers": ["last 2 versions", "not ie < 11"] | |
| }, | |
| "modules": false, | |
| "useBuiltIns": true | |
| } | |
| ], | |
| "@babel/preset-react" | |
| ], | |
| "plugins": [ | |
| "transform-object-rest-spread", | |
| "transform-class-properties", | |
| "@babel/plugin-transform-runtime", | |
| "@babel/plugin-proposal-export-default-from", | |
| "@babel/plugin-proposal-export-namespace-from", | |
| [ | |
| "module-resolver", | |
| { | |
| "alias": { | |
| "rx": "./src/rx/", | |
| "store": "./src/redux/", | |
| "report-error": "./src/report-error/", | |
| "constants": "./src/constants" | |
| } | |
| } | |
| ] | |
| ], | |
| "env": { | |
| "development": { | |
| "plugins": ["@babel/plugin-transform-react-jsx-source"] | |
| }, | |
| "production": { | |
| "plugins": ["transform-react-remove-prop-types"] | |
| }, | |
| "test": { | |
| "plugins": ["@babel/plugin-transform-modules-commonjs"] | |
| }, | |
| "qa": { | |
| "plugins": [ | |
| [ | |
| "react-remove-properties", | |
| { "properties": ["data-id", "data-selector"] } | |
| ] | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment