@lynx-js/template-webpack-plugin-canary 0.8.2-canary-20250719-fb2ed8d0 → 0.8.2

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.2-canary-20250719032935-fb2ed8d080ee4e2ca16671238c0b3a081e81017a
3
+ ## 0.8.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -39,16 +39,16 @@
39
39
  type InlineChunkConfig =
40
40
  | boolean
41
41
  | InlineChunkTest
42
- | { enable?: boolean | "auto"; test: InlineChunkTest };
42
+ | { enable?: boolean | 'auto'; test: InlineChunkTest };
43
43
  ```
44
44
 
45
45
  ```ts
46
- import { defineConfig } from "@lynx-js/rspeedy";
46
+ import { defineConfig } from '@lynx-js/rspeedy';
47
47
 
48
48
  export default defineConfig({
49
49
  output: {
50
50
  inlineScripts: ({ name, size }) => {
51
- return name.includes("foo") && size < 1000;
51
+ return name.includes('foo') && size < 1000;
52
52
  },
53
53
  },
54
54
  });
@@ -98,7 +98,7 @@
98
98
  example:
99
99
 
100
100
  ```js
101
- import { defineConfig } from "@lynx-js/rspeedy";
101
+ import { defineConfig } from '@lynx-js/rspeedy';
102
102
 
103
103
  export default defineConfig({
104
104
  output: {
@@ -193,7 +193,7 @@
193
193
  - Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
194
194
 
195
195
  ```js
196
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
196
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
197
197
 
198
198
  new LynxTemplatePlugin({
199
199
  defaultOverflowVisible: false,
@@ -212,10 +212,10 @@
212
212
  - 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
213
213
 
214
214
  ```js
215
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
215
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
216
216
 
217
217
  const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
218
- hooks.beforeEncode.tap("MyPlugin", ({ entryNames }) => {
218
+ hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
219
219
  console.log(entryNames);
220
220
  });
221
221
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/template-webpack-plugin-canary",
3
- "version": "0.8.2-canary-20250719-fb2ed8d0",
3
+ "version": "0.8.2",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",