/webpack-boilerplate

Boilerplate for webpack 4 setup

Primary LanguageJavaScript

webpack-boilerplate is a project that provides webpack v4 boilerplates out-of-box to quickstart development. I decided to create it after writing a couple of medium blog posts https://hackernoon.com/a-tale-of-webpack-4-and-how-to-finally-configure-it-in-the-right-way-4e94c8e7e5c1

https://medium.freecodecamp.org/how-to-develop-react-js-apps-fast-using-webpack-4-3d772db957e4

I don`t believe in universal configurations and boilerplates when it comes to configuration files, I believe every project should be treated and configured individually. Yet, there is a set of good practices that can help you with minimal project setup.

This project is a collection of webpack setups I find useful that you can copy directly and start using on your project. They are not limited to webpack only, but also have ESLint and Stylelint configured for more convenience.

Every setup is based on webpack v4.

Some are 100% framework agnostic.

webpack-basic-setup

The bare minimum webpack setup to start writing websites.

webpack-sass-setup

Basic setup + support for sass.

webpack-development-setup

Development process oriented setup. Includes basic setup and some development features and settings.

webpack prod

Production-ready setup

  • in progress