Patch Changes
-
Fix the
webenvironment crashing in development because its main thread was bundled with the Rsbuild web HMR runtime. (#2910)Previously the
webenvironment was compiled withtarget: 'web', which makes Rsbuild inject its own HMR client (@rsbuild/core/dist/client/hmr.js). That client drives__webpack_require__.hmrM, which is implemented withlynx.requireModuleAsync— an API the web main thread does not provide — so hot updates crashed.The
webenvironment now uses the same target and HMR entry as thelynxenvironment, going through Lynx's own HMR runtime instead of the Rsbuild web one. -
Updated dependencies [
7a6577a,d18c3e7]:- @lynx-js/runtime-wrapper-webpack-plugin@0.2.1
- @lynx-js/react-alias-rsbuild-plugin@0.17.2
- @lynx-js/react-webpack-plugin@0.9.5
- @lynx-js/use-sync-external-store@1.5.0
- @lynx-js/react-refresh-webpack-plugin@0.4.0
- @lynx-js/template-webpack-plugin@0.12.2
- @lynx-js/css-extract-webpack-plugin@0.8.0