Add react-require to avoid importing React (#295)
* Add react-require * Add babel-plugin-react-require
Showing
... | ... | @@ -33,6 +33,7 @@ |
"babel-generator": "6.19.0", | ||
"babel-loader": "6.2.8", | ||
"babel-plugin-module-resolver": "2.3.0", | ||
"babel-plugin-react-require": "^3.0.0", | ||
"babel-plugin-transform-async-to-generator": "6.16.0", | ||
"babel-plugin-transform-class-properties": "6.19.0", | ||
"babel-plugin-transform-object-rest-spread": "6.19.0", | ||
... | ... |
想要评论请 注册 或 登录