Add plugin that makes babel 6 not break everything
This commit is contained in:
parent
d04201d069
commit
e02e0219a7
2 changed files with 2 additions and 1 deletions
2
.babelrc
2
.babelrc
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"presets": ["react", "es2015", "es2016"],
|
||||
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime"]
|
||||
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime", "add-module-exports"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue