Skip to content

Releases: preactjs/preact-cli

[email protected]

29 Jul 03:06
544f543
Compare
Choose a tag to compare

Minor Changes

  • #1798 96fc0f3 Thanks @rschristian! - TypeScript is now an optional peer dependency, rather than a direct dependency, of preact-cli.

    If you use TypeScript in your projects (.ts or .tsx), you will need to have your own version of TypeScript installed and added to your package.json. This gives you greator control over the version of TypeScript used and most already have TypeScript listed as a dependency anyways.

    For those not using TypeScript, no change is needed, and this should make your node_modules directory a bit smaller (~20% w/ barebones dependency list).

[email protected]

01 Jul 00:23
ca38fc3
Compare
Choose a tag to compare

Patch Changes

  • #1785 a4968ee Thanks @rschristian! - If --prerenderUrls file exists on the disk, but it cannot be processed (thrown errors, incorrect format, etc), the build should error out rather than continue with a warning.

  • #1794 047837d Thanks @teodragovic! - Output CSS source map on build

[email protected]

17 Jan 22:32
9ebd4ff
Compare
Choose a tag to compare

Patch Changes

  • #1774 05ba4b2 Thanks @rschristian! - Injects necessary Node options config into new projects if user's Node version is 16+

[email protected]

09 Jan 20:54
783bb01
Compare
Choose a tag to compare

Patch Changes

  • #1770 a526a00 Thanks @rschristian! - Fix for devServer info output possibly not matching up against devServer config

  • #1761 fb100b3 Thanks @rschristian! - Support proxied loaders w/ getLoadersByName() method in users' preact.config.js

  • #1336 bea4f50 Thanks @developit! - Temp files generated by preact-cli are now unique to a build, allowing for concurrent instances to run at the same time.

@preact/[email protected]

09 Jan 20:54
783bb01
Compare
Choose a tag to compare

Patch Changes

[email protected]

21 Dec 23:14
712ae26
Compare
Choose a tag to compare

Patch Changes

  • #1756 a41d498 Thanks @rschristian! - Improves prerender error message's output and positioning

  • #1760 a789c9d Thanks @rschristian!

    • Fixed bug in which --esm was not enabled by default for production builds on v3.4.2
    • Fixed bug in which --brotli would overwrite existing assets

[email protected]

17 Dec 20:54
696ccc0
Compare
Choose a tag to compare

Patch Changes

[email protected]

28 Jul 18:35
6aba5d8
Compare
Choose a tag to compare

Patch Changes

  • #1711 5eb5d00 Thanks @rschristian! - Fix ensures that the load-manifest is only attempted to be built in prod. It serves no use in dev (as preloading is limited to prod) and can create a race condition when used alongside HMR.

[email protected]

07 Jul 03:08
3f389c2
Compare
Choose a tag to compare

Minor Changes

  • #1674 0346549 Thanks @rschristian! - Supports consuming "proxy" from package.json to proxy API requests in watch mode

  • #1671 8d3bd42 Thanks @rschristian! - Any environment variables prefixed with 'PREACT_APP_' 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

[email protected]

09 Feb 17:56
aea6fed
Compare
Choose a tag to compare

Patch Changes