Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-08 21:39:06 +0300
committerMike Greiling <mike@pixelcog.com>2017-02-09 19:51:36 +0300
commit31c10441fc658de0011e9bae3162c27d0ba937ef (patch)
tree732be6c86cd547939be5a44fe994a0404ee21a5e /config
parent7b4cd8c9f01ccaa3e07e026de9d1555f4b9edfa1 (diff)
upgrade babel to v6
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 51a51e051a2..2d1a16a18dd 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -54,10 +54,7 @@ var config = {
exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader',
query: {
- // 'use strict' was broken in sprockets-es6 due to sprockets concatination method.
- // many es5 strict errors which were never caught ended up in our es6 assets as a result.
- // this hack is necessary until they can be fixed.
- blacklist: ['useStrict']
+ presets: ['es2015', 'stage-2']
}
},
{