Skip to content

lucaszhu2zgf/react-webpack-scaffold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()