Commit 23e6cd6f authored by Mike Greiling's avatar Mike Greiling

only load istanbul plugin in development mode

parent 35b31ba8
...@@ -54,7 +54,7 @@ var config = { ...@@ -54,7 +54,7 @@ var config = {
exclude: /(node_modules|vendor\/assets)/, exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {
plugins: ['istanbul'], plugins: IS_PRODUCTION ? [] : ['istanbul'],
presets: [ presets: [
["es2015", {"modules": false}], ["es2015", {"modules": false}],
'stage-2' '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