Skip to content

B4rt0sz/react-webpack-5-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“„ React Webpack 5 Template

๐Ÿ“œ Webpack 5 template with React 18 using Babel 7, HMR, Sass and PostCSS with a hot dev server and an optimized production build.

Installation

Clone this repository and npm install:

git clone https://github.com/B4rt0sz/react-webpack-5-template.git
cd react-webpack-5-template
npm install

Alternative:

Use the green Template Button on top right of this repository.

Remember:

add .env.development and .env.production to your .gitignore!

Usage

Development server

npm start

You can view the development server at localhost:8080 (You can change port in ./config/webpack.dev.js).

Production build

npm run build

Features

Dependencies

React

  • react - React is a JavaScript library for creating user interfaces. For creating React components
  • react-dom - This package serves as the entry point to the DOM and server renderers for React
  • react-router-dom - This package serves as DOM for React Router

Babel

devDependencies

webpack

Babel

Loaders

Plugins

Linters

Author

Bartosz Szuฤ‡ko

License

This project is open source and available under the MIT License.

About

๐Ÿ“„ React Webpack 5 Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published