Skip to content
Snippets Groups Projects
Commit af1c217f authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

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

Only load istanbul plugin in development mode

See merge request !9261
parents 34231fd3 23e6cd6f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment