Skip to content

@lynx-js/react-alias-rsbuild-plugin@0.22.5

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:13
· 2 commits to main since this release
e00e4da

Patch Changes

  • Align Element Template runtime aliases and compiler-injected entry specifiers across @lynx-js/react, @lynx-js/react-alias-rsbuild-plugin, @lynx-js/react-rsbuild-plugin, and @lynx-js/react-webpack-plugin: (#4419)

    • Export ./element-template/experimental/lazy/import from @lynx-js/react (with fallback to runtime/lazy/element-template-import.js on older peers).
    • Alias @lynx-js/react/lepus$ and @lynx-js/react/element-template/jsx-(dev-)runtime$ consistently across layers and read lazy/elementTemplate options lazily during modifyBundlerChain.
    • Route Element Template compat, worklet, dynamicImport, Defines, and testing-loader jsxImportSource to explicit Element Template runtime entries.
  • Resolve bare react imports to the Element Template runtime when Element Template is enabled. Compile __lynx_timing_flag as a plain native attribute in Element Template so that string literals compile and dynamic string values reach the engine. (#4413)