@lynx-js/template-webpack-plugin-canary 0.8.1-canary-20250630-51cb73dd → 0.8.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +8 -8
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/template-webpack-plugin
2
2
 
3
- ## 0.8.1-canary-20250630161818-51cb73dd0b77d35540644cdd2e6c37db856f0e8a
3
+ ## 0.8.1
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -33,16 +33,16 @@
33
33
  type InlineChunkConfig =
34
34
  | boolean
35
35
  | InlineChunkTest
36
- | { enable?: boolean | "auto"; test: InlineChunkTest };
36
+ | { enable?: boolean | 'auto'; test: InlineChunkTest };
37
37
  ```
38
38
 
39
39
  ```ts
40
- import { defineConfig } from "@lynx-js/rspeedy";
40
+ import { defineConfig } from '@lynx-js/rspeedy';
41
41
 
42
42
  export default defineConfig({
43
43
  output: {
44
44
  inlineScripts: ({ name, size }) => {
45
- return name.includes("foo") && size < 1000;
45
+ return name.includes('foo') && size < 1000;
46
46
  },
47
47
  },
48
48
  });
@@ -92,7 +92,7 @@
92
92
  example:
93
93
 
94
94
  ```js
95
- import { defineConfig } from "@lynx-js/rspeedy";
95
+ import { defineConfig } from '@lynx-js/rspeedy';
96
96
 
97
97
  export default defineConfig({
98
98
  output: {
@@ -187,7 +187,7 @@
187
187
  - Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
188
188
 
189
189
  ```js
190
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
190
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
191
191
 
192
192
  new LynxTemplatePlugin({
193
193
  defaultOverflowVisible: false,
@@ -206,10 +206,10 @@
206
206
  - 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
207
207
 
208
208
  ```js
209
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
209
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
210
210
 
211
211
  const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
212
- hooks.beforeEncode.tap("MyPlugin", ({ entryNames }) => {
212
+ hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
213
213
  console.log(entryNames);
214
214
  });
215
215
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/template-webpack-plugin-canary",
3
- "version": "0.8.1-canary-20250630-51cb73dd",
3
+ "version": "0.8.1",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",