github lynx-family/lynx-stack @lynx-js/react-webpack-plugin@0.8.0

latest releases: @lynx-js/web-constants@0.19.9, @lynx-js/web-core-wasm@0.0.6, @lynx-js/react-refresh-webpack-plugin@0.3.5...
10 hours ago

Minor Changes

  • feat: add globalPropsMode option to PluginReactLynxOptions (#2346)

    • When configured to "event", updateGlobalProps will only trigger a global event and skip the runWithForce flow.
    • Defaults to "reactive", which means updateGlobalProps will trigger re-render automatically.

Patch Changes

  • Fix sourcemap misalignment when wrapping lazy bundle main-thread chunks. (#2361)

    The lazy bundle IIFE wrapper is now injected in processAssets at PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1 by walking chunk groups instead of patching assets in beforeEncode.

    • With experimental_isLazyBundle: true, the wrapper is applied to lazy-bundle chunk groups.
    • Without lazy bundle mode, the wrapper is applied to async main-thread chunk groups generated by dynamic import.

    Injecting the wrapper in this stage keeps the emitted JS stable after optimization while still running before DEV_TOOLING sourcemap finalization, so the generated .js and .js.map stay aligned.

  • Set __DEV__ and __PROFILE__ to true on NODE_ENV === 'development'. (#2324)

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.