mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-08-14 12:40:41 +08:00
Added support for coverage reporting (as requested in https://github.com/newtriks/generator-react-webpack/issues/158)
This commit is contained in:
+9
-1
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user