Minor Changes
-
feat: support
optimizeBundleSizeoption to remove unused code for main-thread and background. (#2336)- If
optimizeBundleSizeistrueoroptimizeBundleSize.backgroundistrue,lynx.registerDataProcessorscalls will be marked as pure for the background thread output. - If
optimizeBundleSizeistrueoroptimizeBundleSize.mainThreadistrue,NativeModules.callandlynx.getJSModulecalls will be marked as pure for the main-thread output.
- If
Patch Changes
-
refactor: remove
modifyWebpackChainsince Rsbuild 2.0 dropped webpack support (#2397) -
Updated dependencies [
9193711]:- @lynx-js/template-webpack-plugin@0.10.7
- @lynx-js/css-extract-webpack-plugin@0.7.0
- @lynx-js/react-webpack-plugin@0.8.0
- @lynx-js/react-alias-rsbuild-plugin@0.14.0
- @lynx-js/use-sync-external-store@1.5.0
- @lynx-js/react-refresh-webpack-plugin@0.3.5