Skip to content

@lynx-js/external-bundle-rsbuild-plugin@0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 03:33
b6b809c

Minor Changes

  • The reactlynx externals preset accepts { async: true }, mounting ReactLynx as an awaited promise so async runtimes can load it via fetchBundle().then (the sync array form reads React.memo etc. off a pending promise and gets undefined). Externals presets resolve per environment (environmentName is available in the preset context): lynx / lynx-* environments use react.lynx.bundle, other environments (e.g. web) use the web-encoded @lynx-js/react-umd/{dev,prod}-web react.web.bundleasync only controls the mount form. (#2934)

Patch Changes

  • Updated dependencies [34318ea]:
    • @lynx-js/externals-loading-webpack-plugin@0.2.1