Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 532 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 532 Bytes

react-webpack-scaffold

The project is aim to provide a simple scaffold of react.

develop

using webpack HotModuleReplacementPlugin, just run the following command and write you code, everything will update up to your changes

npm start

build

npm run build

In this part, if you want to see the bundle result, just open the following code in webpack.config.prod.js, it's helpful!

// const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;

// new BundleAnalyzerPlugin()