Include react-addons-perf for non-production builds

This makes it possible to gather a few performance stats
This commit is contained in:
Richard van der Hoff 2016-04-17 21:06:51 +01:00
parent abca28c80b
commit a0b460b084
3 changed files with 10 additions and 1 deletions

View file

@ -41,6 +41,7 @@ module.exports = {
// alias any requires to the react module to the one in our path, otherwise
// we tend to get the react source included twice when using npm link.
react: path.resolve('./node_modules/react'),
"react-addons-perf": path.resolve('./node_modules/react-addons-perf'),
// same goes for js-sdk
"matrix-js-sdk": path.resolve('./node_modules/matrix-js-sdk'),