module.exports = {
  minified: true,
  plugins: [
    require("babel-plugin-minify-constant-folding"),
    require("babel-plugin-minify-dead-code-elimination"),
    require("babel-plugin-minify-flip-comparisons"),
    require("babel-plugin-minify-guarded-expressions"),
    require("babel-plugin-minify-infinity"),
    require("babel-plugin-minify-mangle-names"),
    require("babel-plugin-minify-replace"),
    require("babel-plugin-minify-simplify"),
    require("babel-plugin-minify-type-constructors"),
    require("babel-plugin-transform-member-expression-literals"),
    require("babel-plugin-transform-merge-sibling-variables"),
    require("babel-plugin-transform-minify-booleans"),
    require("babel-plugin-transform-property-literals"),
    require("babel-plugin-transform-simplify-comparison-operators"),
    require("babel-plugin-transform-undefined-to-void"),
  ],
};

@@ -1,23 +1,673 @@
-module.exports = %7B%0A
+const err = new Error(%22Babili requires babel-core%3E=6.14.0. Upgrade babel-core or tools dependent on babel-core to recent versions%22);%0A%0Afunction isVersion(versionStr) %7B%0A  const version = versionStr.split(%22.%22).map((p) =%3E parseInt(p));%0A  return version%5B0%5D %3E= 6 && version%5B1%5D %3E= 14;%0A%7D%0A%0Amodule.exports = %7B%0A  plugins: %5Bfunction(%7Bversion%7D) %7B%0A    if (!isVersion(version)) %7B%0A      throw err;%0A    %7D%0A    return %7B%0A      visitor: %7B%7D%0A    %7D;%0A  %7D%5D,%0A%7D;%0A%0AObject.defineProperty(module.exports, %22buildPreset%22, %7B%0A  configurable: true,%0A  writable: true,%0A  enumerable: false,%0A  value: preset%0A%7D);%0A%0Afunction preset(context) %7B%0A  if (!isVersion(context.version)) %7B%0A    throw err;%0A  %7D%0A  return %7B%0A  
   mi
@@ -680,16 +680,18 @@
 : true,%0A
+  
   plugin
@@ -695,16 +695,18 @@
 gins: %5B%0A
+  
     requ
@@ -746,24 +746,26 @@
 -folding%22),%0A
+  
     require(
@@ -806,32 +806,34 @@
 mination%22),%0A    
+  
 require(%22babel-p
@@ -861,24 +861,26 @@
 parisons%22),%0A
+  
     require(
@@ -919,24 +919,26 @@
 ressions%22),%0A
+  
     require(
@@ -966,32 +966,34 @@
 infinity%22),%0A    
+  
 require(%22babel-p
@@ -1017,32 +1017,34 @@
 le-names%22),%0A    
+  
 require(%22babel-p
@@ -1063,32 +1063,34 @@
 -replace%22),%0A    
+ 
+ 
 require(%22babel-p
@@ -1110,24 +1110,26 @@
 simplify%22),%0A
+  
     require(
@@ -1166,32 +1166,34 @@
 tructors%22),%0A    
+  
 require(%22babel-p
@@ -1234,32 +1234,34 @@
 literals%22),%0A    
+ 
+ 
 require(%22babel-p
@@ -1299,32 +1299,34 @@
 ariables%22),%0A    
+  
 require(%22babel-p
@@ -1356,24 +1356,26 @@
 booleans%22),%0A
+  
     require(
@@ -1415,32 +1415,34 @@
 literals%22),%0A    
+  
 require(%22babel-p
@@ -1490,24 +1490,26 @@
 tors%22),%0A    
+  
 require(%22bab
@@ -1551,14 +1551,20 @@
 id%22),%0A  
+ 
+ 
 %5D,%0A
+  
 %7D;%0A
+%7D%0A

Throw upgrade error when babel version is less than 6.14.0 (#116)