@lynx-js/react-refresh-webpack-plugin@0.4.1
Patch Changes
-
Extend the
@lynx-js/react-webpack-pluginpeer dependency range to allow^0.10.0. (#2826) -
Fix
isComponent is not a functioncrashing 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/refreshresolved to a pending Promise andisComponent/flushwereundefined. 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-pluginpeer range to^0.10.0to accept the (#2584)
minor that ships the FetchBundle loader.