Pass sourcemap generated by rspack to swc transformer. (#1910)
When engineVersion is greater than or equal to 3.1, use __SetAttribute to set text attribute for text node instead of creating a raw text node. (#1880)
@lynx-js/template-webpack-plugin 0.9.0. (#1705)Remove @lynx-js/react from peerDependencies. (#1711)
Add a new required option workletRuntimePath. (#1711)
aaca8f9]:
@lynx-js/react v0.111.0 (#204)Enable fine-grained control for output.inlineScripts (#883)
Supports @lynx-js/template-webpack-plugin 0.8.0. (#1033)
Support @lynx-js/react v0.110.0. (#770)
Keep snapshot id unchanged on Windows. (#1050)
Fix lazy bundle name on Windows. (#1060)
output.iife: true). (#972)feat: add experimental_isLazyBundle option, it will disable snapshot HMR for standalone lazy bundle (#653)
Add the profile option to control whether __PROFILE__ is enabled. (#722)
Support @lynx-js/react v0.108.0. (#649)
feat: fully support MTS (#569)
Now use support the following usage
feat: add extractStr option to pluginReactLynx (#391)
Fix issue with lazy loading of bundles when source maps are enabled. (#380)
Fix issue where loading a lazy bundle fails if it does not return a webpack chunk. (#365)
@lynx-js/react v0.106.0. (#239)Shake useImperativeHandle on the main-thread by default. (#153)
Avoid wrapping standalone lazy bundles with var globDynamicComponentEntry. (#177)
Support NPM provenance. (#30)
Updated dependencies [c617453]:
@lynx-js/react v0.105.0compilation.updateAsset.@lynx-js/react v0.104.0compat in transform to false@lynx-js/template-webpack-plugin v0.6.0.__MAIN_THREAD__ and __BACKGROUND__ macro as an alternative to __LEPUS__ and __JS__.module is not defined when using lazy bundle.lynxProcessEvalResult.e8039f2: Add defineDCE in plugin options. Often used to define custom macros.
Different from define provided by bundlers like webpack, defineDCE works at transform time and a extra DCE (Dead Code Elimination) pass will be performed.
For example, import initialized by dead code will be removed:
will be transformed to:
a30c83d: Add compat.removeComponentAttrRegex.
NOTE: This feature is deprecated and will be removed in the future. Use codemod instead.
5f8d492: BREAKING CHANGE: Require @lynx-js/react v0.103.0.
5f8d492: Deprecate compat.simplifyCtorLikeReactLynx2
@lynx-js/react v0.102.0options.shake to allow custom package names to be shaken.6730c58: Support @lynx-js/react v0.101.0
63f40cc: Inject globDynamicComponentEntry for all main thread script.
| Before | After | |
|---|---|---|
| Main Bundle | Not defined | Defined(local) |
| Lazy Bundle | Defined(params) | Defined(local) |
@lynx-js/react v0.100.0transformPath to loader option@lynx-js/react optional.