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 = {
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