Skip to content

bimah/webpack-react-template

Repository files navigation

webpack-react-template

A template for any react project using webpack;

Development Server & JavaScript

webpack-dev-server using Hot Modules Replacement

Babel compiler using es2015, stage-0 and react preset

Linting JavaScript using ESLint extending airbnb extensible shared config.

Stylesheet

Loading and compiling SASS as React CSS Modules for the components folder and 7-1 pattern for the global styles on styles;

SASS linting and autoprefix.

Images

Images url-loader plus transform-react-jsx-img-import to auto-generate imports for jsx img elements.

Using svg-inline-loader for SVG

Fonts

Using file-loader for the Fonts.

build

  • components.min.css
  • main.min.css
  • vendor.js
  • app.js
  • fonts/
  • images/

About

Just a basic template to start a react project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published