ccb4254
]:
feat: Merge the absent configurations for .web.bundle
. (#884)
Before this change, the configuration of pageConfig in .web.bundle
was compilerOptions
. After this commit, pageConfig will be a combination of compilerOptions
and sourceContent.config
.
Rename lepus
to mainThreadAssets
in beforeEmit
hook. (#901)
Remove the unused encodeBinary
option of LynxEncodePlugin
. (#880)
Support output.inlineScripts
, which controls whether to inline scripts into Lynx bundle (.lynx.bundle
). (#874)
Only background thread scripts can remain non-inlined, whereas the main thread script is always inlined.
example:
refactor: code clean (#897)
rename many internal apis to make logic be clear:
multi-thread: startMainWorker -> prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime) all-on-ui: prepareMainThreadAPIs -> startMainThread -> createMainThreadContext(new MainThreadRuntime)
Add WebEncodePlugin
. (#904)
This is previously known as WebWebpackPlugin
from @lynx-js/web-webpack-plugin
.
Fix a bug that the lepus
arg of beforeEmit
hook does not contains the root
main chunk of the main thread. (#898)
Be compatible with rspack-manifest-plugin. (#812)
Now only the [name].lynx.bundle
and [name].web.bundle
would exist in manifest.json
.
See lynx-family/lynx-stack#763 for details.
Avoid CSS encode crash on Web platform. (#814)
Fix CSS import order when enableCSSSelector
is false. (#609)
When the enableCSSSelector
option is set to false, style rule priority is inversely related to @import
order(Lynx CSS engine has the incorrect behavior). Reversing the import order to maintain correct priority is required. For example:
will convert to:
background.[contenthash].js
in .lynx.bundle
files. (#498):active
) not working in HMR. (#435)Support NPM provenance. (#30)
Use WASM when NAPI is not available. (#138)
Add defaultOverflowVisible
option to LynxTemplatePlugin
. (#78)
Updated dependencies [c617453
]:
1abf8f0: Set the default value of enableNativeList
to true
.
1abf8f0: Add entryNames
parameter to beforeEncode
hook.
1abf8f0: Set the default targetSdkVersion
to 3.2.
async/[name].[fullhash].bundle
.a217b02: BREAKING CHANGE: Require @lynx-js/css-extract-webpack-plugin
v0.4.0.
0d3b44c: BREAKING CHANGE: Move beforeEmit
and afterEmit
hooks from LynxEncodePlugin
to LynxTemplatePlugin
.
Use LynxTemplatePlugin.getLynxTemplatePluginHooks
instead.
async/[name]/template.[fullhash].js
for lazy template.sourceContent
fieldenableICU
to the options of pluginReactLynx, and change the default value to false
.39efd7c: Change enableRemoveCSSScope
defaults from undefined
to true
, now enableRemoveCSSScope
can be:
true
(by default): All CSS files are treated as global CSS.false
: All CSS files are treated as scoped CSS, and only take effect in the component that explicitly imports it.undefined
: Only use scoped CSS for CSS Modules, and treat other CSS files as global CSS. Scoped CSS is faster than global CSS, thus you can use CSS Modules to speedy up your CSS if there are performance issues.a2f8bad: Avoid extra loadScript
calls.
f1d6095: Add pipelineSchedulerConfig
option.
Updated dependencies [3bf5830]
generatingTemplate
async"(#493).main-thread.js
in production.enableA11y
and enableAccessibilityElement
.@lynx-js/tasm
.enableReuseContext
flag