static-cms/.babelrc
Caleb c58e2eeb5c Use babel-preset-env instead of the yearly presets.
This allows only the transpilation needed for the supported browsers to
be done. It also allows us to use the upgrades from ES2016 and ES2017
without needing to add a seperate preset.
2017-10-19 13:54:31 -04:00

16 lines
307 B
Plaintext

{
"presets": [["env", { "modules": false }], "stage-1", "react"],
"plugins": [
"react-hot-loader/babel",
"lodash",
["babel-plugin-transform-builtin-extend", {
"globals": ["Error"]
}],
],
"env": {
"test": {
"plugins": ["transform-es2015-modules-commonjs"]
}
}
}