Allow mocha to use webpack aliasses via babel
This commit is contained in:
@@ -16,6 +16,15 @@
|
||||
},
|
||||
"development": {
|
||||
"plugins": ["react-hot-loader/babel"]
|
||||
},
|
||||
"test": {
|
||||
"plugins": [
|
||||
[
|
||||
"babel-plugin-webpack-alias", {
|
||||
"config": "webpack/test.js"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user