@lynx-js/react-webpack-plugin-canary 0.15.1 → 0.15.2-canary-20261117-9eda4ade
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 +8 -0
- package/lib/DefinesInjection.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @lynx-js/react-webpack-plugin
|
|
2
2
|
|
|
3
|
+
## 0.15.2-canary-20261117020533-9eda4ade2617354a659f43aa0490d8bc9fd526c5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Register main-thread snapshot definitions for background-only components in external libraries, including components reached through eager imports. ([#4348](https://github.com/lynx-family/lynx-stack/pull/4348))
|
|
8
|
+
- Updated dependencies []:
|
|
9
|
+
- @lynx-js/template-webpack-plugin@0.16.9-canary-20261117020533-9eda4ade2617354a659f43aa0490d8bc9fd526c5
|
|
10
|
+
|
|
3
11
|
## 0.15.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/lib/DefinesInjection.js
CHANGED
|
@@ -44,7 +44,8 @@ export function applyDefinesInjection(compiler, entryPairs, pluginName) {
|
|
|
44
44
|
if (!next) {
|
|
45
45
|
continue;
|
|
46
46
|
}
|
|
47
|
-
if (connection.dependency?.type?.startsWith('import()')
|
|
47
|
+
if (connection.dependency?.type?.startsWith('import()')
|
|
48
|
+
&& connection.dependency.type !== 'import() eager') {
|
|
48
49
|
const resource = next.resource;
|
|
49
50
|
if (resource) {
|
|
50
51
|
asyncBoundaries.set(resource, next);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-webpack-plugin-canary",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2-canary-20261117-9eda4ade",
|
|
4
4
|
"description": "A webpack plugin for ReactLynx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@lynx-js/chunk-loading-webpack-plugin": "npm:@lynx-js/chunk-loading-webpack-plugin-canary@0.4.3",
|
|
42
42
|
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.11.2",
|
|
43
|
-
"@lynx-js/react": "npm:@lynx-js/react-canary@0.129.
|
|
44
|
-
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.16.
|
|
43
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.129.3",
|
|
44
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.16.9-canary-20261117-9eda4ade",
|
|
45
45
|
"@lynx-js/test-tools": "0.0.0",
|
|
46
46
|
"@microsoft/api-extractor": "7.59.4",
|
|
47
47
|
"@rspack/core": "2.2.7",
|