Skip to content

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

License

silvestrevivo/webpack4-starter

Repository files navigation

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 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published