Explorar el Código

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

mightyplow hace 6 años
padre
commit
1d2b7be0f9
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      package.json

+ 3 - 1
package.json

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