github lynx-family/lynx-stack @lynx-js/rspeedy@0.17.0

Minor Changes

  • BREAKING CHANGE: Remove dev.client. websocketTransport predates LynxWebSocketModule, the native module Lynx has shipped since 2.16, so HMR always resolves @lynx-js/websocket — the binding to it. (#3684)

  • Add performance to the pluginLynx options, alongside output, and expose it on the config pluginLynx provides. Rspeedy maps its performance.profile onto it, so a plugin can read the option from the build engine instead of requiring Rspeedy to be the caller. pluginReactLynx reads it from there instead of requiring Rspeedy. (#3691)

  • Update the Rstack toolchain: Rspack 2.2.2, Rsbuild 2.2.3, Rslib 1.0.0 and Rstest 0.11.12. (#3793)

  • BREAKING CHANGE: Emit the intermediate files into .lynx instead of .rspeedy, since the directory is written by the Lynx build engine rather than by Rspeedy. The directory is no longer configurable: output.distPath.intermediate was documented as never read, and nothing else reads it now either. (#3682)

Patch Changes

  • Do not apply the Lynx build engine again when pluginLynx is registered on an environment rather than globally, which silently replaced the options it was given. (#3695)

  • Enable output.sourceMap.css by default only in Lynx environments, so web builds no longer emit unused CSS .map files into the intermediate directory. (#3747)

  • Accept DEBUG=lynx (and lynx:*, lynx:template) for the Lynx debug output and intermediates. It is the recommended form now that the plugins also run under Rslib and Rsbuild; DEBUG=rspeedy keeps working. (#3735)

  • Honor output.distPath.intermediate. The Lynx build engine now resolves the intermediate directory, so the option is no longer ignored by the plugins that emit a Lynx bundle. (#3676)

  • Write the bundle to disk during dev by default. A Lynx client reads it from disk as often as it reads it from the dev server, so the Lynx build engine now carries the default that only Rspeedy used to apply. (#3680)

  • Use the Rspack DevTool type for output.sourceMap.js. It already covers the '-debugids' suffix, so Rspeedy no longer restates it. (#3664)

  • Skip the built-in pluginLynx when one is already applied, so a user who needs to configure the Lynx build engine can apply pluginLynx themselves and have their options win. @lynx-js/rspeedy becomes an optional peer dependency of pluginReactLynx and pluginQRCode. (#3661)

  • Updated dependencies [643a52d, b854dec, f743e12, 9bbfe5d, 754ed35, ab041b7, 0a52438, c6f971a, 0c47383, b3c6045, 08a36e3, abab087, 7850e1e, 3ab5ba3, eaefef6, e2ac811, 3d63331, 32ba734]:

    • @lynx-js/rsbuild-plugin@0.1.0

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.