Skip to content

Releases: freshheads/webpack-config-builder

v3.0.0

01 Sep 14:21
Compare
Choose a tag to compare

This release doesn't introduce any breaking changes in the config but we upgraded some dependencies that could introduce breaking changes in your project. By pushing our dependencies versions forward we are preparing to support webpack 5.x when stable.

[BREAKING]: We now require Typescript 4.x when using the TypescriptAdapter
[BREAKING]: We now require sass-loader 10.x
[BREAKING]: We now require css-loader 4.x
[BREAKING]: We now require terser-webpack-plugin 4.x
[BREAKING]: We now require postcss / postcss-loader 4.x
[NEW] Added DefaultSonataAdminStack adapter which we use for our new implementation of Sonata Admin.

v2.0.0

25 Jun 14:18
Compare
Choose a tag to compare

[NEW] Support for css modules! You can now use following syntax in js apps.

import styles from './test.module.scss';

<div className={styles.test}>

For more info read this article on css tricks

[BREAKING]: This release contains upgrades that result in an minimum version of Node v12.13.0

[BREAKING]: Copy image plugin has changed some options, this could have impact when you are using additional patterns for the CopyImageAdapater. See changelog

[BREAKING]: Sass implementation is now part of CSS adapter to simplify code and speed up build times. CssAdapter now has a sass config so move existing settings in DefaultStackAdapter to css:

        new DefaultStackAdapter({
            css: {
                enabled: true,
                sass: {
                    enabled: true;
                    sassLoaderOptions: {
                        sourceMap: false,
                    },
                }
            },
        });

[BREAKING]: A lot of adapters have set new minimum version requirements. When building warnings will be shown so you know what to update.

[FIXED]: Sourcemaps are now build with eval-source-map instead of inline-source-map which was not suited for development. This should speed up watching tasks. We might want to speed this up more by only showing line numbers in sourcemaps. See webpack readme

[NEW]: You are no longer limited to using babel.config.js files. We made this change to follow new recommendations by babel to set config in babel.config.json file whenever possible. This should speed up build times as this can be better cached. Read more info on configuring babel

v1.0.0

28 Feb 15:51
Compare
Choose a tag to compare

[BREAKING]: copy image plugin now use paths relative to build/images directory and no longer relative to where script is executed so /app/src/images/logos/logo.svg becomes /images/logos/logo.svg
[BREAKING]: dependency upgrades that now require node v10

v0.6.0

02 Dec 13:42
Compare
Choose a tag to compare

Changes

Switched from Node-Sass to Dart-Sass which is the new primary implementation of sass.

This has some breaking changes:

But also creates new posibilities:

There are migrations tools that can make your project use the new module system.

v0.5.0

29 Nov 12:38
Compare
Choose a tag to compare

Changes

  • Added Terser minification to support ES6 syntax
  • Dropped Uglify JS minification in favor of Terser
  • Validate minimum version of adapter required modules in adapter itself, instead of in peer dependencies to make sure that it is only validated when the adapter is actually used
  • Minimum versions might be newer than previously defined in peer dependencies, this makes this version a breaking change.

v0.4.0

01 Oct 18:34
Compare
Choose a tag to compare

Changes

  • Added Freshheads AdminStackAdapter

Fixes

  • StatsWriter not adding copied assets to stats.json

0.1.2

31 May 08:09
Compare
Choose a tag to compare
Version bump (2)