@lynx-js/template-webpack-plugin-canary 0.9.2-canary-20251204-c475c1e3 → 0.9.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.9.2-canary-20251204073453-c475c1e3b6eed071a2fc3cdc51744b2bbace2a80
3
+ ## 0.9.2
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -92,16 +92,16 @@
92
92
  type InlineChunkConfig =
93
93
  | boolean
94
94
  | InlineChunkTest
95
- | { enable?: boolean | "auto"; test: InlineChunkTest };
95
+ | { enable?: boolean | 'auto'; test: InlineChunkTest };
96
96
  ```
97
97
 
98
98
  ```ts
99
- import { defineConfig } from "@lynx-js/rspeedy";
99
+ import { defineConfig } from '@lynx-js/rspeedy';
100
100
 
101
101
  export default defineConfig({
102
102
  output: {
103
103
  inlineScripts: ({ name, size }) => {
104
- return name.includes("foo") && size < 1000;
104
+ return name.includes('foo') && size < 1000;
105
105
  },
106
106
  },
107
107
  });
@@ -151,7 +151,7 @@
151
151
  example:
152
152
 
153
153
  ```js
154
- import { defineConfig } from "@lynx-js/rspeedy";
154
+ import { defineConfig } from '@lynx-js/rspeedy';
155
155
 
156
156
  export default defineConfig({
157
157
  output: {
@@ -246,7 +246,7 @@
246
246
  - Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
247
247
 
248
248
  ```js
249
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
249
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
250
250
 
251
251
  new LynxTemplatePlugin({
252
252
  defaultOverflowVisible: false,
@@ -265,10 +265,10 @@
265
265
  - 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
266
266
 
267
267
  ```js
268
- import { LynxTemplatePlugin } from "@lynx-js/template-webpack-plugin";
268
+ import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
269
269
 
270
270
  const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
271
- hooks.beforeEncode.tap("MyPlugin", ({ entryNames }) => {
271
+ hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
272
272
  console.log(entryNames);
273
273
  });
274
274
  ```
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-20251204-c475c1e3",
3
+ "version": "0.9.2",
4
4
  "description": "Simplifies creation of Lynx template files to serve your webpack bundles",
5
5
  "keywords": [
6
6
  "webpack",