@lynx-js/template-webpack-plugin-canary 0.9.2-canary-20251205-6400f87b → 0.10.0-canary-20251208-8cdb69d4

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,6 +1,12 @@
1
1
  # @lynx-js/template-webpack-plugin
2
2
 
3
- ## 0.9.2-canary-20251205074811-6400f87b9b0370e5fe53ce37711d45932fede695
3
+ ## 0.10.0-canary-20251208085600-8cdb69d4b2cc3e9925a2494ee8a889d7af17e2e9
4
+
5
+ ### Minor Changes
6
+
7
+ - Merge all css chunk and generate a `.css.hot-update.json` file for each bundle. ([#1965](https://github.com/lynx-family/lynx-stack/pull/1965))
8
+
9
+ ## 0.9.2
4
10
 
5
11
  ### Patch Changes
6
12
 
@@ -93,6 +93,7 @@ export interface TemplateHooks {
93
93
  outputName: string;
94
94
  mainThreadAssets: Asset[];
95
95
  cssChunks: Asset[];
96
+ entryNames: string[];
96
97
  }>;
97
98
  /**
98
99
  * Called after the template is emitted.
@@ -388,6 +388,7 @@ class LynxTemplatePluginImpl {
388
388
  mainThreadAssets: [lepusCode.root, ...encodeData.lepusCode.chunks]
389
389
  .filter(i => i !== undefined),
390
390
  cssChunks: assetsInfoByGroups.css,
391
+ entryNames,
391
392
  });
392
393
  compilation.emitAsset(filename, new RawSource(template, false));
393
394
  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.9.2-canary-20251205-6400f87b",
3
+ "version": "0.10.0-canary-20251208-8cdb69d4",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",
@@ -43,6 +43,7 @@
43
43
  "@microsoft/api-extractor": "7.52.15",
44
44
  "@types/css-tree": "^2.3.11",
45
45
  "@types/object.groupby": "^1.0.4",
46
+ "css-loader": "^7.1.2",
46
47
  "webpack": "^5.102.0",
47
48
  "@lynx-js/test-tools": "0.0.0",
48
49
  "@lynx-js/vitest-setup": "0.0.0"