mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-08-24 05:46:15 +08:00
refactor: remove exposing React to devtools
https://github.com/newtriks/generator-react-webpack/pull/57#issuecomment-74627216 Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
var React = require('react/addons');
|
||||
var ReactTransitionGroup = React.addons.TransitionGroup;
|
||||
|
||||
// Export React so the devtools can find it
|
||||
(window !== window.top ? window.top : window).React = React;
|
||||
|
||||
// CSS
|
||||
require('../../styles/normalize.css');
|
||||
require('../../styles/main.css');
|
||||
|
||||
Reference in New Issue
Block a user