Added support for coverage reporting (as requested in https://github.com/newtriks/generator-react-webpack/issues/158)

This commit is contained in:
Chris
2015-10-27 08:08:26 +01:00
parent ed4e8a17f3
commit 89f6f1701b
5 changed files with 51 additions and 9 deletions
+9 -1
View File
@@ -16,11 +16,19 @@ module.exports = {
path.join(__dirname, '/../src'),
path.join(__dirname, '/../test')
]
},
{
test: /\.(js|jsx)$/,
loader: 'babel-loader',
include: [
path.join(__dirname, '/../src')
],
loader: 'isparta'
}
]
},
resolve: {
extensions: ['', '.js', '.jsx'],
extensions: [ '', '.js', '.jsx' ],
alias: {
actions: srcPath + 'actions/',
helpers: path.join(__dirname, '/../test/helpers'),