1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- {
- "presets": [
- "react",
- [
- "env",
- {
- "loose": true,
- "modules": false,
- "targets": {
- "browsers": ["last 2 versions", "IE >= 11", "iOS >= 9"]
- }
- }
- ]
- ],
- "plugins": [
- "syntax-dynamic-import",
- "transform-object-rest-spread",
- "transform-class-properties",
- [
- "react-intl",
- {
- "messagesDir": "./build/messages"
- }
- ]
- ],
- "env": {
- "development": {
- "plugins": [
- "transform-react-jsx-source",
- "transform-react-jsx-self"
- ]
- },
- "production": {
- "plugins": [
- "lodash",
- [
- "transform-react-remove-prop-types",
- {
- "mode": "remove",
- "removeImport": true,
- "additionalLibraries": [
- "react-immutable-proptypes"
- ]
- }
- ],
- [
- "transform-runtime",
- {
- "helpers": true,
- "polyfill": false,
- "regenerator": false
- }
- ]
- ]
- },
- "test": {
- "plugins": [
- "transform-es2015-modules-commonjs"
- ]
- }
- }
- }
|