A utility library for composing webpack configuration files using composable helper functions. Version 2.2.0 is the latest stable release (npm). The package provides curried helpers (entry, loader, output, plugin, tap) that take configuration arguments and a webpack config object, enabling clean composition via lodash/fp/compose. It normalizes entry values to arrays for consistency and supports functional patterns. Unlike ad-hoc merging or webpack-merge, it offers a functional, composable API targeted at modular webpack configs. No explicit release cadence.
npm install webpack-partialVerified import paths — ran on the pinned version, not inferred.
Demonstrates composing a webpack config using multiple helpers: setting entry, adding a loader and plugin, modifying output, and tapping for logging.
Use array operations when accessing entry values inside callbacks.
Ensure you provide all arguments or use compose to pass the config at the end.
Pin to exact version and review changelog before upgrading.
Use default import: import entry from 'webpack-partial/entry'
Wrap value in array or use the function callback form.