Allow mocha to use webpack aliasses via babel

This commit is contained in:
Jaco Greeff
2016-12-08 12:18:43 +01:00
parent 5f1021822d
commit 88e5ed9ea5
3 changed files with 37 additions and 1 deletions

View File

@@ -16,6 +16,15 @@
},
"development": {
"plugins": ["react-hot-loader/babel"]
},
"test": {
"plugins": [
[
"babel-plugin-webpack-alias", {
"config": "webpack/test.js"
}
]
]
}
}
}