Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

indoqa-webpack

1.2.0 • Public • Published

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:

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

Usage

Production build

TBD (es6, pollyfills, css extraction, usage, ref to sample)

Dev mode

TBD (dev server, hot-reload, usage, ref to sample)

Building libraries

TBD (externals, peer dependencies, .npmignore, usage, ref to sample)

Setting up a playground (usually for libraries)

TBD (usage, ref to sample)

Jest

TBD (directory structure, usage, ref to sample)

ESLint configuration

TBD (usage, ref to sample)

Todos

  • Webpack 2 support
  • preset env
  • cache-loader

Keywords

none

install

npm i indoqa-webpack

Downloadsweekly downloads

4

version

1.2.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar