Skip to content

Releases: freshheads/webpack-config-builder

v5.2.0

30 Sep 11:25
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.2.0

v5.1.0

03 Oct 09:18
Compare
Choose a tag to compare

What's Changed

For example disabling sourcemaps in production:

const builderConfig = {
    env: nodeEnv,
    sourceMap: !isProduction,
};

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.0.0

13 Sep 14:31
Compare
Choose a tag to compare

This major release should be straight forward, it is there to safely allow to bump the build dependencies. It does drop support for node 12, we now require a minimum of node 14.

For more info follow the Upgrade Guide

[Changes]

Full Changelog: v4.4.0...v5.0.0

v4.4.0

24 May 07:57
Compare
Choose a tag to compare

What's Changed

  • Add support for webp and avif extensions + use browserslist file as target by @martinbroos in #136

Full Changelog: v4.3.0...v4.4.0

v4.3.0

28 Mar 09:12
Compare
Choose a tag to compare

Support node 16
To make this work, uninstall fibers dependency as it doesn't work with node 16.
This release no longer throws an error when fibers is missing but it is still recommended for older node versions (12, 14) because it speeds of the build time of sass.

Full Changelog: v4.2.1...v4.3.0

v4.2.1

25 Mar 13:56
Compare
Choose a tag to compare

v4.2.0

25 Mar 08:25
Compare
Choose a tag to compare

What's Changed

Changes should be fully compatible with NPM 6. But you can not use the new workspaces setup when some users still use NPM6.
Also note that NPM7+ uses a different lock file format, so it's best to decide for each project if you want to build it with NPM 6 or use NPM 7/8

Full Changelog: v4.1.0...v4.2.0

v4.1.0

04 Feb 14:59
Compare
Choose a tag to compare

What's Changed

LoadReferencedFileAdapter had some issues when adding extra rules because it would also match the existing asset module rule.
This could lead to problems for example when using SVGR in react.
To fix this we changed this to a oneOf rule and added a new option additionalAssetRules and dropped the test config. As working with loadReferencedFileAdapter would lead to issues we didn't concider this as a breaking change. But still it's recommended that you use the new config option additionalAssetRules instead of pushing rules yourself (see upgrade guide for examples) or changing the test config.

Full Changelog: v4.0.4...v4.1.0

v4.0.4

15 Nov 13:50
Compare
Choose a tag to compare

Bugfix:

  • Name of the assets was no longer included in files created by webpack 5 assets modules. Which leads to problems when you want to load the file from the stats.json and want to use in in your html with webpack_asset extension. At Freshheads we use this for preloading fonts.

v4.0.0

28 Jun 13:34
Compare
Choose a tag to compare

This major upgrade moves from Webpack 4 to 5 together with improvements to the adapters. See beta releases for detailed description.

We created an upgrade guide to quickly move from webpack-config-builder 3.x to 4.x.
See UPGRADE-4.0.md

When upgrading please read the migration guide supplied by Webpack. As some settings / best practices are still done at application level.
https://webpack.js.org/migrate/5/