UNPKG

@webpack-blocks/core

Version:

Functional approach to compose your webpack config.

59 lines (38 loc) 1.8 kB
# @webpack-blocks/core - Changelog ## 2.0.0-alpha - Remove deprecated `fileType` API ([#260](https://github.com/andywer/webpack-blocks/issues/260)) - Support for webpack 4 ([#261](https://github.com/andywer/webpack-blocks/pull/261)) ## 1.0.0 - Added `when()` ([#242](https://github.com/andywer/webpack-blocks/issues/242)) - Support negations in `match()` to set `exclude` ([#252](https://github.com/andywer/webpack-blocks/issues/252)) - Change `match()` to pass all [webpack rule options](https://webpack.js.org/configuration/module/) to context. ([#250](https://github.com/andywer/webpack-blocks/pull/250)) ## 1.0.0-beta.2 - More useful error message when passing invalid blocks to `createConfig()` ([#171](https://github.com/andywer/webpack-blocks/issues/171)) - Less noisy default options ## 1.0.0-beta - Added `match()` ## 1.0.0-alpha - New block API ([#125](https://github.com/andywer/webpack-blocks/issues/125)) - Added `text/html` file type - Dropped transpiling, requires node 6+ ## 0.4.0 - Changed signature of `createConfig()` to allow passing `context.webpackVersion` - Using `webpack-merge` v2.3 instead of v0.14 - Fixed a bug where the config passed to blocks as parameter might contain duplicate values (see [#79](https://github.com/andywer/webpack-blocks/pull/79)) - Added `application/x-typescript` file type - Added `text/x-less` file type ## 0.3.0 - Breaking API change: Added `context` object - Implement `group()` for creating presets ## 0.1.2 - Fixes `env()` merging already everything, resulting in duplicate config props (see [#29](https://github.com/andywer/webpack-blocks/issues/29)) ## 0.1.1 - Ensure `env()` passes webpack config properly to setters. (see [#2](https://github.com/andywer/webpack-blocks/issues/2)) ## 0.1.0 Initial release.