0.0.6 • Published 2 months ago

ljas-webpack v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
2 months ago

Lean JS App Starter Webpack Configuration Parts

npm License

This package offers functions known as configuration parts. These are used to compose webpack configurations in a simple and organized way.

They are currently used for Lean JavaScript Application Starter and can be useful for your own webpack configurations.

Install

npm install --save-dev ljas-webpack

yarn add --dev ljas-webpack

Usage

The configuration parts are designed to offer simplified ways that make it quick and easy to get webpack to do what you want. If these default behaviors don't do exactly what you need, the functions still offer you other ways to fine-tune things so you'll always be in complete control.

One thing to note is that these parts were intended to be used with webpack-merge. Although it is not required, it is highly recommended as it makes larger configurations much easier to manage.

The expected composition strategy is described on the "Composing Configuration" page in the SurviveJS webpack book which was written by an ex-webpack core team member, Juho Vepsäläinen.

Documentation

You can view the JSDoc in this repository's /docs directory or at https://mattlean.github.io/ljas-webpack/docs/global.html.

License

This project is MIT licensed.