Skip to content

A boilerplate code that contains minimum configurations to bootstrap a new React Webpack project

License

Notifications You must be signed in to change notification settings

hiteshparashar4/react-webpack-boilerplate

Repository files navigation

react-webpack-boilerplate

A boilerplate code that contains enough configurations to bootstrap a new React Webpack project

Installation

Running

Features

  • Bootstrap a React app with basic required features already built in
  • Module bundling using Webpack
  • Webpack Dev Server. Run app on local server
  • scss/css support
  • Extracks scss/css code into a saperate bundle file
  • Extracts images to output bundle directory
  • eslint for checking common syntax errors in the code to ensure code quality
  • Source maps to easily debug the js code in browser dev tools (dev mode only)

Common Commands

  • npm run start => starts a local dev server to run the application on your system
  • npm run lint => runs lint checks and reports for any syntax errors in the code
  • npm run lint:fix => runs lint checks, tries to fix some common errors automatically, and reports for any other syntax errors in the code
  • npm run dev => creates build in development mode.
  • npm run build => creates build in production mode. Minifies and compresses the build files.

Important

About

A boilerplate code that contains minimum configurations to bootstrap a new React Webpack project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published