@lynx-js/template-webpack-plugin-canary 0.6.4-canary-20250309-870106fc → 0.6.5-canary-20250312-315ba3b7

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.6.4-canary-20250309084456-870106fcb00d54a9f952be14c9bdcc592099863c
3
+ ## 0.6.5-canary-20250312061257-315ba3b7fac7872884edcdd5ef3e6d6230bbe115
4
+
5
+ ### Patch Changes
6
+
7
+ - The code of lazy bundle should be minimized. ([#177](https://github.com/lynx-family/lynx-stack/pull/177))
8
+
9
+ ## 0.6.4
4
10
 
5
11
  ### Patch Changes
6
12
 
@@ -19,8 +25,8 @@
19
25
  ```
20
26
 
21
27
  - Updated dependencies [[`c617453`](https://github.com/lynx-family/lynx-stack/commit/c617453aea967aba702967deb2916b5c883f03bb)]:
22
- - @lynx-js/webpack-runtime-globals@0.0.5-canary-20250309084456-870106fcb00d54a9f952be14c9bdcc592099863c
23
- - @lynx-js/css-serializer@0.1.2-canary-20250309084456-870106fcb00d54a9f952be14c9bdcc592099863c
28
+ - @lynx-js/webpack-runtime-globals@0.0.5
29
+ - @lynx-js/css-serializer@0.1.2
24
30
 
25
31
  ## 0.6.3
26
32
 
@@ -181,7 +181,16 @@ class LynxTemplatePluginImpl {
181
181
  return this.#getAsyncFilenameTemplate(filename);
182
182
  }));
183
183
  });
184
- compilation.hooks.processAssets.tapPromise(this.name, async () => {
184
+ compilation.hooks.processAssets.tapPromise({
185
+ name: this.name,
186
+ stage:
187
+ /**
188
+ * Generate the html after minification and dev tooling is done
189
+ * and source-map is generated
190
+ */
191
+ compiler.webpack.Compilation
192
+ .PROCESS_ASSETS_STAGE_REPORT,
193
+ }, async () => {
185
194
  await this.#generateAsyncTemplate(compilation);
186
195
  });
187
196
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/template-webpack-plugin-canary",
3
- "version": "0.6.4-canary-20250309-870106fc",
3
+ "version": "0.6.5-canary-20250312-315ba3b7",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",
@@ -32,9 +32,9 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/css-serializer": "npm:@lynx-js/css-serializer-canary@0.1.2-canary-20250309-870106fc",
35
+ "@lynx-js/css-serializer": "npm:@lynx-js/css-serializer-canary@0.1.2",
36
36
  "@lynx-js/tasm": "0.0.5",
37
- "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.5-canary-20250309-870106fc",
37
+ "@lynx-js/webpack-runtime-globals": "npm:@lynx-js/webpack-runtime-globals-canary@0.0.5",
38
38
  "@rspack/lite-tapable": "1.0.1",
39
39
  "css-tree": "^3.1.0",
40
40
  "object.groupby": "^1.0.3"