Skip to content

sha-el/React-ts-webpack-swc-boilerplate

Repository files navigation

React Webpack Typescript Starter

Minimal starter with hot module replacement (HMR) for rapid development.

Installation

  1. Clone/download repo
  2. yarn install (or npm install for npm)

Usage

Development

yarn run start

  • Build app continuously (HMR enabled)
  • App served @ http://localhost:8080

All commands

Command Description
yarn run start Build app continuously (HMR enabled) and serve @ http://localhost:8080
yarn run build Build app to /dist/
yarn run lint Run linter
yarn run lint --fix Run linter and fix issues

Note: replace yarn with npm in package.json if you use npm.