参考文章:http://www.jianshu.com/p/418e48e0cef1 demo 地址:https://github.com/ShadowWalker627/React-Webpack_Demo 如果觉得好,欢迎 start