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

19.0.0

Compare
Choose a tag to compare
@DorianGrey DorianGrey released this 19 Jul 07:42
· 34 commits to master since this release

It's been quite a while now since the last release ... took me a while to glue all of this together. This release contains a huge set of changes, some of them are breaking.

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

Overview

Tools

  • Webpack was updated to V4
    • As a result, the long term caching option was dropped - it can no longer be disabled.
    • Note that all plugins affected by this update have been updated as well.
    • A new build config option withExperimentalCssOptimization was added to apply additional stylesheet optimizations using cssnano. Note that this might break your overall style under certain conditions, so it is disabled by default (it also breaks the example app due to a curious "optimization" for grid layouts).
    • hard-source-webpack-plugin was added to improve rebuild speed even further than it already was. Causes the initial build to be a bit slower, but successive build have been at least 10% faster in my tests, so it should be worth it.
    • The workbox plugin has been changed to import itself from CDN instead of local, since I was facing some issues about the script loading all of its modules even though only a few are referenced, which causes problems by the google-analytics plugin being blocked from my browser.
  • A VSCode extension recommendation file for tslint and stylelint was added.
  • A new longer in form of signale replaces the former custom implementation. It covers most of the library output (like from the fork-ts-checker plugin) was well.

App

  • Angular was updated to V6
  • RxJS was updated to V6

CI

Travis and AppVeyor are now using node 10 instead of 9 for testing. V10 will become LTS and the end of 2018, thus it's viable to test it quite early, and drop V9 which won't become a LTS version.

Other stuff

  • mainfest.json was renamed to manifest.webmanifest to match the extension mentioned by the standard.
  • A lot of code simplification by using async/await instead of raw promises.
  • The browserlist used by autoprefixer has been moved to the package.json and was adjusted to:
"browserslist": [
    ">0.25%",
    "not ie 11",
    "not op_mini all"
  ]

which provides a global coverage of 86.67%. See: http://browserl.ist/?q=%3E0.25%25%2Cnot+ie+11%2Cnot+op_mini+all

Migration

See the migration guide for details about updating your application and configuration: https://github.com/DorianGrey/ng-webpack-template/blob/master/docs/migration/MIGRATION__19_0_0.md