Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

An opinionated starter kit for creating fully fledged React applications with best practices in mind

Notifications You must be signed in to change notification settings

justblender/react-webpack-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-webpack-template

A much lighter than create-react-app (yet still powerful) starter kit for creating fully fledged React applications.

Features

  • TypeScript support (typescript package needs to be installed separately);
  • Asset resolving (or transforming into Base64 URIs for files under - 4 Kb) on import and require() statements;
  • Support for Sass pre-processor and CSS modules;
  • PostCSS transformations (autoprefixing and etc.);
  • TODO: Class name minification for production builds (i.e. <div class="hello-world"></div> becomes <div class="a_2"></div>);
  • Batteries Not Included: manifest.json and Service Workers are not generated to reduce the unneccesary bloat;
  • Fine-tuned minification rules for production builds;
  • Support for optional pre-rendering;
  • Stateful hot-reloading in development mode.

Usage

Just clone this repository and start making changes. Use npm run start for development purposes and npm run build for creating an optimized production-ready build.

Note: built files are meant to be served via an HTTP server. Opening index.html over file:// won't work, use http-server as an alternative.

About

An opinionated starter kit for creating fully fledged React applications with best practices in mind

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published