examples/webpack-modern/.babelrc
raw| 1 | { |
| 2 | "presets": [ |
| 3 | [ |
| 4 | "@babel/preset-env", |
| 5 | { |
| 6 | "loose": true, |
| 7 | "modules": false, |
| 8 | "targets": { |
| 9 | "browsers": "last 2 chrome versions" |
| 10 | } |
| 11 | } |
| 12 | ], |
| 13 | "@babel/preset-react" |
| 14 | ], |
| 15 | "plugins": [ |
| 16 | "react-hot-loader/babel", |
| 17 | ["@babel/plugin-proposal-class-properties", { "loose": true }] |
| 18 | ] |
| 19 | } |