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/importfrom@lynx-js/react(with fallback toruntime/lazy/element-template-import.json older peers). - Alias
@lynx-js/react/lepus$and@lynx-js/react/element-template/jsx-(dev-)runtime$consistently across layers and readlazy/elementTemplateoptions lazily duringmodifyBundlerChain. - Route Element Template
compat,worklet,dynamicImport,Defines, and testing-loaderjsxImportSourceto explicit Element Template runtime entries.
- Export
-
Resolve bare
reactimports to the Element Template runtime when Element Template is enabled. Compile__lynx_timing_flagas a plain native attribute in Element Template so that string literals compile and dynamic string values reach the engine. (#4413)