Webpack Setup for React.js
Mininal Webpack and React.js Starter boilerplate.
What is included in this boilerplate?
- Support for both JSX and TSX.
- ESLint — Using airbnb config
- Prettier — Code Formatter
- Husky — For running scripts before committing
- Commitizen — To define a standard way of committing rules
- Commitlint — Make sure your commit messages follow the convention
- Renovate — Keep your dependencies up to date
- lint-staged — To run ESLint and Prettier against staged Git files
- PR Workflow — Run Type Check & Linters on all Pull Requests
- EditorConfig — Maintain consistent coding styles across editors and IDEs
- React refresh — So you can change and modify your component without refresh or reload the page in real time change!
- CSS-loader & SASS-loader & style-loader.
- Webpack-serve — A lean and modern webpack development server.
Demo
Usage
Create a new application using create-react-app
with the -e | --example
flag pointing to…