npm run build
to build production distribution attarget/webpack
.npm run dev
to launch auto-recompilation viawatchexec
and Hot Reload via Webpack Dev Server.
- Node.js/NPM
- watchexec
This template uses stable and well-supported build tools...
- Webpack for Bundling
- Microsoft's official TSC TypeScript Compiler
- Babel's official JSX Transform
- Facebook's official
react-refresh/babel
plugin for HMR. - Webpack Dev Server for local development.
- Google's ZX for the build scripts
I tried to make this template as small as possible while still maintaing modularity (not using an all-in-one build tool like Vite or esbuild).
git clone https://github.com/duncpro/clientside-react-template.git
cd clientside-react-template
npm install # You must install dev dependencies before using the build scripts
npm run dev # Start auto recompilation and webpack dev server