Merge branch 'fix-production-assets' into 'master'
Only load istanbul plugin in development mode See merge request !9261
This commit is contained in:
commit
af1c217f9b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue