Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 802 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 802 Bytes

Webpack React Template

This is a template for a really quick creation of React project with Webpack build.
This should be used with Visual Studio Code and the Live Server extension.

Installation

npm install -g -D webpack webpack-cli
git clone git@github.com:nicolasventer/WebpackReactTemplate.git
cd WebpackReactTemplate
npm install

Watch mode installation

npm install -g nodemon nodemon-webpack-plugin

Demo

Demo

Usage

Build: (make a pre-check with tsc)

npm run build

Rebuild: (no pre-check, delete dist before build)

npm run rebuild

Watch: (no pre-check, no delete, watch for changes)

npm run watch