- React 17
- Webpack 5
- cssloader and styleloader
- Node (Make sure you have the node 12+ installed)
- Clone the repository
gh repo clone hassanamjad91/webpack5-boilerplate(or if you're not using GitHub CLI:git clone git@github.com:hassanamjad91/webpack5-boilerplate.git) - If you're using NVM run
nvm useinside project directory to use node version set in.nvmrcfile - Run
npm installornpm ito install all the dependencies - To begin development task, run
npm start - Open http://localhost:8080
npm clean- delete thedistfoldernpm start- start the dev server and watch for changesnpm run build- create a production ready build indistfolder