github symfony/webpack-encore v1.2.0
Upgrade css-minimizer-webpack-plugin from v1 to v2

latest releases: v4.6.1, v4.6.0, v4.5.0...
3 years ago

Hi Webpackers!

This release contains a major dependency upgrade (see details below) and a cool new .when() function that allows you
to run conditional code.

  • [DEPENDENCY UPGRADE] css-minimizer-webpack-plugin was upgraded from version 1
    to version 2. This should not affect you directly, unless you were passing
    custom options to this plugin (e.g. via configureCssMinimizerPlugin()). #966
    thanks to @stof.

  • [FEATURE] Added Encore.when(), which can be used to easily add conditional code
    (e.g. code that should be run only in "dev"). See the index.js file for
    more details - #963 thanks to @Kocal.

  • [BUG] When using webpack-dev-server, if the target port (e.g. 8080) was
    unavailable, previously, a different port would be fine (e.g. 8081). This
    has now been disabled and you will get an error instead. This was done
    because there is no way for Encore to detect this change and update its
    config properly - #943 thanks to @weaverryan.

To upgrade:

yarn upgrade "@symfony/webpack-encore@^1.2.0"

Changes: https://github.com/symfony/webpack-encore/compare/v1.1.2..v1.2.0

Documentation: http://symfony.com/doc/current/frontend.html

Happy packing!

Don't miss a new webpack-encore release

NewReleases is sending notifications on new releases.