๐Ÿ“ฆ pkieltyka / rapp

๐Ÿ“„ .babelrc ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12// NOTE: These options are overriden by the babel-loader configuration
// for webpack, which can be found in ~/build/webpack-environments/_base
// and ~/build/webpack-environments/production.
//
// Why? The react-transform-hmr plugin depends on HMR (and throws if
// module.hot is disbled, so keeping it and related plugins contained
// within webpack helps prevent unexpected errors.
{
  "presets": ["es2015", "react", "stage-0"],
  "plugins": ["transform-runtime", "add-module-exports"]
}