如何打包react+nodejs

2025-01-04 18:49:55
推荐回答(1个)
回答1:

需要使用npm按照以下依赖包:"babel-core":"^6.8.0","babel-loader":"^6.2.4","babel-preset-es2015":"^6.6.0","babel-preset-react":"^6.5.0","webpack":"^1.13.2","webpack-stream":"^3.2.0","object-assign":"^4.1.0","react":"^15.2.1","react-dom":"^15.0.2",