Pass es6 to webpack and profit from tree shaking

This commit is contained in:
Chi Vinh Le
2017-10-03 19:57:23 +07:00
parent 7ea05e699e
commit b1753ecdce
3 changed files with 1 additions and 29 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"presets": [
["es2015"]
["es2015", {modules: false}]
],
"plugins": [
"transform-class-properties",
-14
View File
@@ -1,14 +0,0 @@
{
"presets": [
"es2015"
],
"plugins": [
"add-module-exports",
"transform-class-properties",
"transform-decorators-legacy",
"transform-object-assign",
"transform-object-rest-spread",
"transform-async-to-generator",
"transform-react-jsx"
]
}
-14
View File
@@ -1,14 +0,0 @@
{
"presets": [
"es2015"
],
"plugins": [
"add-module-exports",
"transform-class-properties",
"transform-decorators-legacy",
"transform-object-assign",
"transform-object-rest-spread",
"transform-async-to-generator",
"transform-react-jsx"
]
}