Transpile to commonjs for all environments

This commit is contained in:
Zalmoxisus 2018-12-12 19:05:14 +02:00
parent 00863e8aa0
commit 1721069143

View File

@ -1,9 +1,4 @@
{
"presets": [ ["env", {
"targets": {
"firefox" : 56,
"chrome" : 64
}
}], "react", "flow"],
"presets": [ ["env", { "modules": "commonjs" }], "react", "flow" ],
"plugins": [ "transform-class-properties", "transform-object-rest-spread", "add-module-exports", "transform-decorators-legacy" ]
}