Commit af1c217f authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'fix-production-assets' into 'master'

Only load istanbul plugin in development mode

See merge request !9261
parents 34231fd3 23e6cd6f
......@@ -54,7 +54,7 @@ var config = {
exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader',
options: {
plugins: ['istanbul'],
plugins: IS_PRODUCTION ? [] : ['istanbul'],
presets: [
["es2015", {"modules": false}],
'stage-2'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment