compiler.hooks.initialize as it's not called in child compilers. (#1898)BREAKING CHANGE: Remove the enableParallelElement and pipelineSchedulerConfig options. (#1705)
Since the thread element resolution is still in experimental stage and may have stability risks, it will be disabled by default after this change.
BREAKING CHANGE: Remove the enableICU option. (#1800)
Always inline the background script that contains rspack runtime module. (#1582)
Updated dependencies [aaca8f9]:
module.exports=; syntax in app-service.js. (#1501)Syntax Error: expecting ';' error of chunk splitting (#1279)feat: ::placeholder will be compiled to part(input)::placeholder, which means you can use pseudo-element CSS to add placeholder styles to input and textarea. (#1158)
Enable fine-grained control for output.inlineScripts (#883)
EncodeCSSOptions and encodeCSS to ensure consistent encoding options are used across CSS HMR updates and the main template. (#1033)Avoid generating lazy bundles when there are no chunk name. (#1090)
E.g.: using import.meta.webpackContext.
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