Very simple React boilerplate with development server hot reload, using React Refresh Webpack Plugin.
- SCSS/ SASS support
- Webpack 5, with separate configuration files for production and development (using webpack-merge).
- Hot reloading through react-refresh-webpack-plugin
- index.html generated through HTMLWebpackPlugin.
- Browserslist
-
Don't forget to install all dependencies first.
npm install
-
To start the development server
npm run start
-
To build for production
npm run build