Include react-addons-perf for non-production builds
This makes it possible to gather a few performance stats
This commit is contained in:
parent
abca28c80b
commit
a0b460b084
3 changed files with 10 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue