Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

19.1.0

Compare
Choose a tag to compare
@DorianGrey DorianGrey released this 07 Sep 07:50
· 22 commits to master since this release

A minor release this time.
Some greater changes are planned and deferred for the next major release, so I decided to put this release before.

Full set of changes can be viewed here:
19.0.0...19.1.0

Overview

Features

  • uglify-es was replaced with terser, resp. their corresponding webpack plugins. uglify-es is no longer maintained, i.e. the bugs it still contains won't be fixed. terser is a maintained fork. Regarding this issue, a similar change will be adopted to the webpack core itself.
    In addition, the cache and parallel flags have been enabled by default, since they are much more stable on terser, and improve build performance by quite a margin.
  • The previously experimental flag withExperimentalCssOptimization was removed. Its underlying instability was fixed by moving to a different plugin for CSS optimization, optimize-cssnano-plugin. I.e. this optimization is now always active.
  • The post-build file size information was extended to also show file size differences, including a indicator for positive/negative/no changes. Note that by default, this is only active for js, css, json and webmanifest files, since others are quite irrelevant. If you think different, feel free to update the regex and glob here: https://github.com/DorianGrey/ng-webpack-template/blob/master/scripts/util/determineFileSizesBeforeBuild.js

Fixes

README adoption

I recognized that the README did not reflect every change made in the 19.0.0 release. This was fixed.

Updates

The most notable minor updates refer to angular (now at 6.1.7) and rxjs (now at 6.3.2). All others are either minor or should have no effect on the project (e.g. major update dropping support for node v6, which isn't supported at all by this project).