@lynx-js/runtime-config-webpack-plugin-canary 0.0.1 → 0.0.2-canary-20261027-749147c8

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,5 +1,12 @@
1
1
  # @lynx-js/runtime-config-webpack-plugin
2
2
 
3
+ ## 0.0.2-canary-20261027063858-749147c82c3e0bb06f1e92567a5afec909baf19b
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7d498ae`](https://github.com/lynx-family/lynx-stack/commit/7d498aece52a20e77abc19e2a4579333861c11da)]:
8
+ - @lynx-js/webpack-runtime-globals@0.1.0-canary-20261027063858-749147c82c3e0bb06f1e92567a5afec909baf19b
9
+
3
10
  ## 0.0.1
4
11
 
5
12
  ### Patch Changes
@@ -9,11 +9,11 @@ import type { Compiler } from '@rspack/core';
9
9
  */
10
10
  export type RuntimeConfigWebpackPluginOptions = Record<string, unknown>;
11
11
  /**
12
- * Merges and shallow-freezes runtime configuration in
13
- * `lynx.__runtime_configs__`.
12
+ * Merges this bundle's runtime configuration into
13
+ * `lynx.__runtime_configs__`, then shallow-freezes it.
14
14
  *
15
- * Bundles are merged in execution order. Later bundle values overwrite
16
- * earlier values with the same key.
15
+ * Apply it to the host bundle only. Lazy and external bundles consume the
16
+ * configuration injected by the host.
17
17
  *
18
18
  * @public
19
19
  */
@@ -18,11 +18,11 @@ function applyRuntimeConfigInjection(compiler, config, pluginName) {
18
18
  });
19
19
  }
20
20
  /**
21
- * Merges and shallow-freezes runtime configuration in
22
- * `lynx.__runtime_configs__`.
21
+ * Merges this bundle's runtime configuration into
22
+ * `lynx.__runtime_configs__`, then shallow-freezes it.
23
23
  *
24
- * Bundles are merged in execution order. Later bundle values overwrite
25
- * earlier values with the same key.
24
+ * Apply it to the host bundle only. Lazy and external bundles consume the
25
+ * configuration injected by the host.
26
26
  *
27
27
  * @public
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/runtime-config-webpack-plugin-canary",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-canary-20261027-749147c8",
4
4
  "description": "Inject runtime configuration into the page-scoped Lynx runtime.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -32,12 +32,12 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.8"
35
+ "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.1.0-canary-20261027-749147c8"
36
36
  },
37
37
  "devDependencies": {
38
- "@rspack/core": "2.2.2",
39
- "@rstest/core": "0.11.12",
40
- "@lynx-js/test-tools": "0.0.0"
38
+ "@lynx-js/test-tools": "0.0.0",
39
+ "@rspack/core": "2.2.7",
40
+ "@rstest/core": "0.12.1"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=18"