Browse Source

[build] disable modules when transpiling to enable proper tree shaking

mightyplow 6 years ago
parent
commit
1d2b7be0f9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -36,7 +36,9 @@
   "license": "ISC",
   "babel": {
     "presets": [
-      "env",
+      ["env", {
+        "modules": false
+      }],
       "stage-2"
     ]
   },