From 8600bd87c1fdbde50de8993c5d727f5b54ce69d2 Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Wed, 24 Feb 2016 21:10:09 +0300 Subject: [PATCH] Fix compile errors in IE9 (#967) --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2ae040679..ffe40f57c 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "babel-eslint": "^4.1.5", "babel-loader": "^6.1.0", "babel-plugin-transform-runtime": "^6.1.18", - "babel-preset-es2015": "^6.1.4", + "babel-preset-es2015-loose": "^7.0.0", "babel-preset-stage-0": "^6.1.18", "babel-runtime": "^6.1.18", "eslint": "^1.9.0", diff --git a/webpack.config.js b/webpack.config.js index 14a52aaac..1190cb052 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -38,7 +38,7 @@ module.exports = { query: { cacheDirectory: true, // plugins: ['transform-runtime'], - presets: ['es2015', 'stage-0'] + presets: ['es2015-loose', 'stage-0'] } } ]