@lynx-js/template-webpack-plugin-canary 0.7.0-canary-20250523-998f486b → 0.7.0-canary-20250523-ff63b58a
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 +3 -1
- package/lib/LynxTemplatePlugin.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/template-webpack-plugin
|
|
2
2
|
|
|
3
|
-
## 0.7.0-canary-
|
|
3
|
+
## 0.7.0-canary-20250523080904-ff63b58af137be5265458cb08db9af0aaa69c416
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
});
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
- Fix a bug that the `lepus` arg of `beforeEmit` hook does not contains the `root` main chunk of the main thread. ([#898](https://github.com/lynx-family/lynx-stack/pull/898))
|
|
28
|
+
|
|
27
29
|
## 0.6.11
|
|
28
30
|
|
|
29
31
|
### Patch Changes
|
|
@@ -384,7 +384,7 @@ class LynxTemplatePluginImpl {
|
|
|
384
384
|
debugInfo,
|
|
385
385
|
template: buffer,
|
|
386
386
|
outputName: filename,
|
|
387
|
-
lepus: encodeData.lepusCode.chunks,
|
|
387
|
+
lepus: [lepusCode.root, ...encodeData.lepusCode.chunks].filter(i => i !== undefined),
|
|
388
388
|
});
|
|
389
389
|
compilation.emitAsset(filename, new RawSource(template, false));
|
|
390
390
|
if (isDebug() || isDev) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/template-webpack-plugin-canary",
|
|
3
|
-
"version": "0.7.0-canary-20250523-
|
|
3
|
+
"version": "0.7.0-canary-20250523-ff63b58a",
|
|
4
4
|
"description": "Simplifies creation of Lynx template files to serve your webpack bundles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@types/css-tree": "^2.3.10",
|
|
45
45
|
"@types/object.groupby": "^1.0.4",
|
|
46
46
|
"webpack": "^5.99.9",
|
|
47
|
-
"@lynx-js/
|
|
48
|
-
"@lynx-js/
|
|
47
|
+
"@lynx-js/vitest-setup": "0.0.0",
|
|
48
|
+
"@lynx-js/test-tools": "0.0.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18"
|