@lynx-js/rspeedy-canary 0.10.8-canary-20250821-839e9492 → 0.10.8-canary-20250821-aaca8f91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,11 +1,19 @@
1
1
  # @lynx-js/rspeedy
2
2
 
3
- ## 0.10.8-canary-20250821070734-839e9492a3ee7b0ae2f5981dc7f8acb0116cddf4
3
+ ## 0.10.8-canary-20250821114500-aaca8f91d177061c7b0430cc5cb21a3602897534
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - Support caching Lynx native events when chunk splitting is enabled. ([#1370](https://github.com/lynx-family/lynx-stack/pull/1370))
8
+
9
+ When `performance.chunkSplit.strategy` is not `all-in-one`, Lynx native events are cached until the BTS chunk is fully loaded and are replayed when that chunk is ready. The `firstScreenSyncTiming` flag will no longer change to `jsReady` anymore.
10
+
7
11
  - Fix missing `publicPath` using when `rspeedy dev --mode production`. ([#1310](https://github.com/lynx-family/lynx-stack/pull/1310))
8
12
 
13
+ - Updated dependencies [[`aaca8f9`](https://github.com/lynx-family/lynx-stack/commit/aaca8f91d177061c7b0430cc5cb21a3602897534)]:
14
+ - @lynx-js/cache-events-webpack-plugin@0.0.1-canary-20250821114500-aaca8f91d177061c7b0430cc5cb21a3602897534
15
+ - @lynx-js/chunk-loading-webpack-plugin@0.3.1-canary-20250821114500-aaca8f91d177061c7b0430cc5cb21a3602897534
16
+
9
17
  ## 0.10.7
10
18
 
11
19
  ### Patch Changes
package/dist/cli/main.js CHANGED
@@ -1,3 +1,4 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_cache_events_webpack_plugin_4f60358d__ from "@lynx-js/cache-events-webpack-plugin";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_chunk_loading_webpack_plugin_f5dc50b6__ from "@lynx-js/chunk-loading-webpack-plugin";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_rspeedy_register_78d0d330__ from "@lynx-js/rspeedy/register";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ from "@rsbuild/core";
@@ -218,6 +219,9 @@ var __webpack_modules__ = {
218
219
  ''
219
220
  ].concat(messages).join('\n - ')}`);
220
221
  },
222
+ "@lynx-js/cache-events-webpack-plugin": function(module) {
223
+ module.exports = __WEBPACK_EXTERNAL_MODULE__lynx_js_cache_events_webpack_plugin_4f60358d__;
224
+ },
221
225
  "@lynx-js/chunk-loading-webpack-plugin": function(module) {
222
226
  module.exports = __WEBPACK_EXTERNAL_MODULE__lynx_js_chunk_loading_webpack_plugin_f5dc50b6__;
223
227
  },
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_cache_events_webpack_plugin_4f60358d__ from "@lynx-js/cache-events-webpack-plugin";
1
2
  import * as __WEBPACK_EXTERNAL_MODULE__lynx_js_chunk_loading_webpack_plugin_f5dc50b6__ from "@lynx-js/chunk-loading-webpack-plugin";
2
3
  import * as __WEBPACK_EXTERNAL_MODULE__rsbuild_core_1b356efc__ from "@rsbuild/core";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_promises_153e37e0__ from "node:fs/promises";
@@ -117,6 +118,9 @@ var __webpack_modules__ = {
117
118
  const version = package_namespaceObject.i8;
118
119
  const rspackVersion = core_.rspack.rspackVersion;
119
120
  },
121
+ "@lynx-js/cache-events-webpack-plugin": function(module) {
122
+ module.exports = __WEBPACK_EXTERNAL_MODULE__lynx_js_cache_events_webpack_plugin_4f60358d__;
123
+ },
120
124
  "@lynx-js/chunk-loading-webpack-plugin": function(module) {
121
125
  module.exports = __WEBPACK_EXTERNAL_MODULE__lynx_js_chunk_loading_webpack_plugin_f5dc50b6__;
122
126
  },
@@ -7,6 +7,7 @@ export const __webpack_modules__ = {
7
7
  __webpack_require__.d(__webpack_exports__, {
8
8
  pluginChunkLoading: ()=>pluginChunkLoading
9
9
  });
10
+ var cache_events_webpack_plugin_ = __webpack_require__("@lynx-js/cache-events-webpack-plugin");
10
11
  var chunk_loading_webpack_plugin_ = __webpack_require__("@lynx-js/chunk-loading-webpack-plugin");
11
12
  function isLynx(environment) {
12
13
  return 'string' == typeof environment ? 'lynx' === environment : 'lynx' === environment.name;
@@ -18,7 +19,7 @@ export const __webpack_modules__ = {
18
19
  setup (api) {
19
20
  api.modifyBundlerChain((chain, { environment })=>{
20
21
  if ((0, is_web.$)(environment)) return void chain.output.chunkLoading("import-scripts").end();
21
- if (isLynx(environment)) chain.plugin('lynx:chunk-loading').use(chunk_loading_webpack_plugin_.ChunkLoadingWebpackPlugin).end().output.chunkLoading('lynx').chunkFormat('commonjs').end();
22
+ if (isLynx(environment)) chain.plugin('lynx:chunk-loading').use(chunk_loading_webpack_plugin_.ChunkLoadingWebpackPlugin).end().plugin('lynx:cache-events').use(cache_events_webpack_plugin_.LynxCacheEventsPlugin).end().output.chunkLoading('lynx').chunkFormat('commonjs').end();
22
23
  });
23
24
  }
24
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/rspeedy-canary",
3
- "version": "0.10.8-canary-20250821-839e9492",
3
+ "version": "0.10.8-canary-20250821-aaca8f91",
4
4
  "description": "A webpack/rspack-based frontend toolchain for Lynx",
5
5
  "keywords": [
6
6
  "webpack",
@@ -46,7 +46,8 @@
46
46
  "README.md"
47
47
  ],
48
48
  "dependencies": {
49
- "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.0",
49
+ "@lynx-js/cache-events-webpack-plugin": "npm:@lynx-js/cache-events-webpack-plugin-canary@0.0.1-canary-20250821-aaca8f91",
50
+ "@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.3.1-canary-20250821-aaca8f91",
50
51
  "@lynx-js/webpack-dev-transport": "npm:@lynx-js/webpack-dev-transport-canary@0.2.0",
51
52
  "@lynx-js/websocket": "npm:@lynx-js/websocket-canary@0.0.4",
52
53
  "@rsbuild/core": "1.4.15",