Skip to content

LearningBackwards/webpack-5-react-boilerplate-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack 5 React Boilerplate

Webpack 5 boilerplate using React, Babel 7, PostCSS and Sass with a hot dev server and an optimized production build. Babel compiles ES6+ and React to ES5.

Last updated: 07-01-2025

Node Version: 20.18.1

React Version: 19.0.0

Usage

Installing

  • Make sure you have a new version of Node installed
  • Download the code by zip or fork
  • Run the command npm install by the command promt

Development server:

  • npm run start
  • You can view the development server at localhost:8080.

Production build:

  • npm run build

To view the build use http-server:

  • npm run prod

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.
  • react-hook-form - Forms in Reack.

Babel

  • @babel-runtime - Babel Runtime for dev babel/plugin-transform-runtime.

Other

  • core-js - Main Library with polyfills for older Browsers
  • whatwg-fetch - For making promise based web request progammitically

devDependencies

webpack

Loaders

Babel

Plugins

Author

  • Per Olsen

License

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.4%
  • HTML 9.3%
  • SCSS 2.3%