github lynx-family/lynx-stack @lynx-js/react-alias-rsbuild-plugin@0.16.0

latest releases: @lynx-js/testing-environment@0.2.0, upgrade-rspeedy@0.14.2, @lynx-js/external-bundle-rsbuild-plugin@0.1.1...
9 hours ago

Minor Changes

  • Simplify hooks for main-thread runtime, which only can run during the first screen. (#2441)

Patch Changes

  • fix(rstest): add global fallback aliases for @lynx-js/react/jsx-runtime and @lynx-js/react/jsx-dev-runtime (#2464)

    pluginReactAlias only aliased these entries inside layer-specific rules (issuerLayer: BACKGROUND/MAIN_THREAD). In rstest mode there are no layers, so JSX transformed by the testing loader—which emits import { jsx } from '@lynx-js/react/jsx-runtime'—could not be resolved, causing a Cannot find module '@lynx-js/react/jsx-runtime' error. Added global (non-layer-specific) fallback aliases pointing to the background jsx-runtime.

Don't miss a new lynx-stack release

NewReleases is sending notifications on new releases.