Skip to content

v0.5.0

Compare
Choose a tag to compare
@lukeed lukeed released this 31 Mar 22:59
· 17 commits to master since this release

Breaking

  • Dropped support for Node 6.x: 9ffdb89, 1417c02

  • Stylesheet references to webpack aliases syntax change: 03f20e0, 5d37039
    This is due to css-loader upgrade & it forces specific syntax to reference aliases.

    /* before */
    background-image: url(@assets/gradient.png);
    
    /* after */
    background-image: url(~@assets/gradient.png);
  • Stop including eslint and prettier dependencies within respective plugins: 6cc1c9a
    You must install eslint and prettier directly; you control the version!

Features

  • feat(NEW): Added TypeScript support via @pwa/plugin-typescript: 48c3321
  • feat(NEW): Added @pwa/plugin-imagemin package for image optimization: 97f0a4a
  • feat(cli): Scaffold TypeScript parts within pwa init walkthrough: e1fa8d7
  • feat(preact): Add graceful support for Preact X and Preact 8.x versions: b5e2ea0
  • feat(prettier): Require prettier@^2.0 peering: 6cc1c9a, 7e6eb1e, 1985420
  • feat(eslint): Require eslint@^6.8 peering: 6cc1c9a, d605076, 1985420

Patches

  • fix(core): Do not force paths or includePaths options within style loaders: c68f509
  • fix(core): Use optimization.moduleIds (instead of plugin variant) so that it's easier to disable: 38c02fe
  • fix(core): Include default optimize-css-assets-webpack-plugin options for generalized usage: ebe5385
  • fix(core): use [chunkhash] in filename output templates: f38a71b
  • fix(core): update dependency versions: 47462d2, 914e9eb, 705effb, 5d37039, 109d50a
  • fix(cli): define missing preact-router version for template: c247148
  • fix(cli): mute webpack-dev-server noise: a53beaf
  • fix(preact): define & provide Fragment for Preact X: 4b3304d