@lynx-js/template-webpack-plugin-canary 0.8.4-canary-20250815-405a9170 → 0.8.4

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.4-canary-20250815130727-405a9170442ae32603b7687549b49ab4b34aff92
3
+ ## 0.8.4
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -51,16 +51,16 @@
51
51
  type InlineChunkConfig =
52
52
  | boolean
53
53
  | InlineChunkTest
54
- | { enable?: boolean | "auto"; test: InlineChunkTest };
54
+ | { enable?: boolean | 'auto'; test: InlineChunkTest };
55
55
  ```
56
56
 
57
57
  ```ts
58
- import { defineConfig } from "@lynx-js/rspeedy";
58
+ import { defineConfig } from '@lynx-js/rspeedy';
59
59
 
60
60
  export default defineConfig({
61
61
  output: {
62
62
  inlineScripts: ({ name, size }) => {
63
- return name.includes("foo") && size < 1000;
63
+ return name.includes('foo') && size < 1000;
64
64
  },
65
65
  },
66
66
  });
@@ -110,7 +110,7 @@
110
110
  example:
111
111
 
112
112
  ```js
113
- import { defineConfig } from "@lynx-js/rspeedy";
113
+ import { defineConfig } from '@lynx-js/rspeedy';
114
114
 
115
115
  export default defineConfig({
116
116
  output: {
@@ -205,7 +205,7 @@
205
205
  - Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
206
206
 
207
207
  ```js
208
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
208
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
209
209
 
210
210
  new LynxTemplatePlugin({
211
211
  defaultOverflowVisible: false,
@@ -224,10 +224,10 @@
224
224
  - 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
225
225
 
226
226
  ```js
227
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
227
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
228
228
 
229
229
  const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
230
- hooks.beforeEncode.tap("MyPlugin", ({ entryNames }) => {
230
+ hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
231
231
  console.log(entryNames);
232
232
  });
233
233
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/template-webpack-plugin-canary",
3
- "version": "0.8.4-canary-20250815-405a9170",
3
+ "version": "0.8.4",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",