use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341)

This commit is contained in:
Leigh Johnson
2016-09-07 11:47:19 -04:00
committed by GitHub
parent 27ab6705e7
commit c3b9050773
5 changed files with 8 additions and 15608 deletions

View File

@@ -58,11 +58,12 @@ module.exports = function(config) {
}
}, {
test: /\.js$/,
loader: 'babel-istanbul',
loader: 'babel-loader',
include: [path.resolve() + '/client/src/'],
exclude: '/(node_modules)/',
query: {
presets: ['es2015']
presets: ['es2015'],
plugins: ['istanbul']
}
}
]