From 154922c0f76ad9fcbf2d08f3835cd8cd94e84499 Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Fri, 5 Aug 2016 10:23:45 -0400 Subject: [PATCH] Use es2015 loose mode after publish (#3639) --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4bd64c5cea..b7874e9c20 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "babel-plugin-transform-flow-strip-types": "^6.3.13", "babel-plugin-transform-runtime": "^6.3.13", "babel-preset-es2015": "^6.6.0", - "babel-preset-es2015-loose": "^7.0.0", "babel-preset-stage-0": "^6.0.0", "babel-runtime": "^6.0.0", "browserify": "^11.2.0", @@ -46,8 +45,8 @@ }, "babel": { "presets": [ - "stage-0", - "es2015-loose" + ["es2015", { "loose": true }], + "stage-0" ], "plugins": [ "./scripts/add-module-exports",