Simplified, opinionated usage of Webpack as build tool and dev-server


Keywords
indoqa-library, webpack
License
Apache-2.0
Install
npm install indoqa-webpack@1.1.1

Documentation

Indoqa Webpack

Motivation

Webpack is a low-level build tool for Javascript web applications. In our opinion too low-level to be maintained in each of our projects. Since we found out that our webpack configurations are in huge parts identical, we started indoqa-webpack which can be configured delcaratively.

Goals

The goal of indoqa-webpack is supporting following use cases:

  • simple upgrade path to newer versions of indoqa-webpack
  • hide webpack configurations and provide a declarative configuration
  • support for ES6 and Typescript builds
  • support code-splitting
  • create production-ready release artifacts (Javascript, CSS)
  • provide a hot-reloadable development server using express * out-of-the-box usage for Jest tests
  • out-of-the-box configuration of ESLint using eslint-config-indoqa

Changelog

Learn about the lastest improvements

Example

See indoqa-react-redux-ts for an example of how to setup the store, the history and the fela renderer with hot-reload enabled.