summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mgreiling@gitlab.com>2017-03-20 22:29:45 +0000
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-20 22:29:45 +0000
commitfde335bfb755e766e058b25c65cbc514df9b33f9 (patch)
treed829eaccef8913b269b2915f2d9ee615c1adaffe /config/webpack.config.js
parentb26d4d2ac4cdf3a66e16918dae28d9b724557dd2 (diff)
downloadgitlab-ce-fde335bfb755e766e058b25c65cbc514df9b33f9.tar.gz
Only add frontend code coverage instrumentation when generating coverage report
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 92746211cad..c6794d6b944 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -59,13 +59,7 @@ var config = {
{
test: /\.js$/,
exclude: /(node_modules|vendor\/assets)/,
- loader: 'babel-loader',
- options: {
- presets: [
- ["es2015", {"modules": false}],
- 'stage-2'
- ]
- }
+ loader: 'babel-loader'
},
{
test: /\.svg$/,