Skip to content

@lynx-js/react-refresh-webpack-plugin@0.4.1

Choose a tag to compare

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

Patch Changes

  • Extend the @lynx-js/react-webpack-plugin peer dependency range to allow ^0.10.0. (#2826)

  • Fix isComponent is not a function crashing the HMR runtime when ReactLynx is consumed as an async external bundle. (#2928)

    The refresh helpers were injected via ProvidePlugin, whose dependency edge does not participate in async-module handling, so @lynx-js/react/refresh resolved to a pending Promise and isComponent/flush were undefined. They now ship as an ESM module (runtime/refresh.mjs) injected by the loader as a real import, awaited through the normal async-module machinery.

  • Widen the @lynx-js/react-webpack-plugin peer range to ^0.10.0 to accept the (#2584)
    minor that ships the FetchBundle loader.