Minor Changes
- BREAKING CHANGE: Require
@lynx-js/rspeedy^0.17.0in the plugins that read the build engine config throughSymbol.for('@lynx-js/rsbuild-plugin:config'), since the engine that ships with0.16does not expose it. The plugins that do not touch the engine keep their existing range and add^0.17.0to it. (#3682)
Patch Changes
-
Declare the build host as an optional peer dependency.
@rsbuild/corecovers a plain Rsbuild build, and@lynx-js/rspeedycovers an Rspeedy one, so whichever host is installed is version-checked. (#3678) -
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) -
Resolve the bundle filename through
getLynxConfig(api).resolveBundleFilename()instead of readingoutput.filenameout of the Rspeedy config. A configured filename is now honored when the plugins are used with Rsbuild directly. (#3651) -
Expose
Symbol.for('LynxTemplatePlugin')frompluginLynxinstead of from each DSL plugin, so the plugins that tap the template hooks work with the build engine alone. (#3675) -
Wrap the background chunk again. The runtime wrapper only matched assets under
.rspeedy/, so once the intermediate directory moved to.lynx/the background chunk shipped without the wrapper and failed on load withReferenceError: lynx is not defined. The wrapper now targets the background asset the plugin emits, wherever the intermediate directory lives. (#3745) -
Updated dependencies [
c21cddd,f743e12,5637926,cdceffc,6da3e18,5637926,eaefef6,0be26e9,32ba734]:- @lynx-js/template-webpack-plugin@0.16.0
- @lynx-js/runtime-wrapper-webpack-plugin@0.2.4