Skip to content

Latest commit

 

History

History
167 lines (84 loc) · 15.2 KB

CHANGELOG.md

File metadata and controls

167 lines (84 loc) · 15.2 KB

preact-cli

3.4.0

Minor Changes

  • #1671 8d3bd42 Thanks @rschristian! - Any environment variables prefixed with 'PREACTAPP' will automatically be available for reference and use in your application without having to configure DefinePlugin any more. Furthermore, if a .env file exists in the root of your application, any variables it defines will automatically be available for use.

    Huge shout out to robinvdvleuten who provided this functionality through the preact-cli-plugin-env-vars package in the past.

Patch Changes

  • #1670 7afd8bb Thanks @rschristian! - Corrects 'build --json' ouput location and 'apple-touch-icon' will respect the publicPath automatically
  • #1700 a60f8df Thanks @rschristian! - Removes the archived & non-recommended 'material' template from 'preact list' output
  • #1426 7d33cd1 Thanks @VanTanev! - Improves prerender error message when offending use of browser globals cannot be found

3.3.5

Patch Changes

3.3.4

Patch Changes

3.3.3

Patch Changes

  • #1622 39be928 Thanks @rschristian! - Corrects module resolve priority, fixing issues with duplicated dependencies being incorrectly resolved

3.3.2

Patch Changes

  • #1508 0cfee78 Thanks @rschristian! - On project create, the CLI won't copy the HTML template or the service worker when the source template is a widget

3.3.1

Patch Changes

  • #1599 e42a61c Thanks @rschristian! - Reverts automatic conversion of --sw flag in dev to a boolean, which stopped the debug service worker from attaching.

3.3.0

Minor Changes

  • #1580 95198f3 Thanks @developit! - Generate modern (approximately ES2017) code in development mode to better match production output.

Patch Changes

3.2.2

Patch Changes

3.2.1

Patch Changes

3.2.0

Minor Changes

3.1.0

Minor Changes

  • 4b81641 #1418 Thanks @merceyz! - Added monorepo and Yarn PnP support by correctly loading dependencies, removing faulty install checks, and adding undeclared dependencies

Patch Changes

  • cc2f3e7 #1423 Thanks @rschristian! - Fixes bug with style loader that would strip non-module CSS files if 'sideEffects' was set to false for the package.
  • 24c7473 #1516 Thanks @jgoamakf! - Do not produce preRenderData when --no-prerender option is specified.

3.0.5

Patch Changes

3.0.4

Patch Changes

  • 30fb1fc #1478 Thanks @rschristian! - No longer copies 'sw-debug.js' to output directory on prod builds. No functional changes, as it was not used.
  • ab84275 #1434 Thanks @rschristian! - This disable SSR size tracking. This stops size-plugin-ssr.json from being generated and stops file sizes from being reported to the developer.

3.0.2

Patch Changes