An open API service indexing awesome lists of open source software.

https://github.com/silvestrevivo/webpack4-starter

React starter boilerplate built with WebPack4. It contains some improvements respect the previous version, as weel as optimalizations got from the Parcel Starter respository.
https://github.com/silvestrevivo/webpack4-starter

babel classnames enzime eslint hot-reload html javascript jest postcss prettier prettier-eslint reactjs redux sass scss webpack4 webpack4boilerplate webpack4starter yarn

Last synced: 3 months ago
JSON representation

React starter boilerplate built with WebPack4. It contains some improvements respect the previous version, as weel as optimalizations got from the Parcel Starter respository.

Awesome Lists containing this project

README

          






Webpack4 Starter


This is a code boilerplate built with WebPack4 which it could be used as starter project template for React Projects. It
contains Babel to compile _ES6_ to _ES5_ as well as _CSS_ and _SASS_ loaders. It comes ready to
install dependencies for _React_ and _ReactDOM_. It refreshs automatically through the scripts from
the package.json file and the _HotModuleReplacementPlugin_. CSS files come with autoprefixer updated following
[caniuse][1] and using _Postcss_.

## How to use it

This template is based on _npm package_ with **yarn**, thus to run it, download the repository in your local computer
and then in the folder of your project:

$ yarn

$ yarn dev

For production:

$ yarn run build

## Modules installed

* Babel, babel-core, babel-loader, babel-preset-env, babel-preset-react, babel-plugin-transform-class-properties, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-stage-1

* Clean-webpack-plugin, cross-env

* Style-loader, css-loader, sass-loader, node-sass, extract-text-webpack-plugin

* Normalize.css, file-loader, Extract-text-webpack-plugin, rimraf

* Postcss-loader, autoprefixer, browserslist.

* Extract-text-webpack-plugin.

* Webpack, webpack-cli, webpack-dev-server.

* React, ReactDom, react-hot-loader, react-router-dom, classnames, prop-types, redux, react-redux, axios

[1]: http://caniuse.com/