@lynx-js/template-webpack-plugin-canary 0.7.1-canary-20250530-5f0ce5c3 → 0.7.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.
- package/CHANGELOG.md +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/template-webpack-plugin
|
|
2
2
|
|
|
3
|
-
## 0.7.1
|
|
3
|
+
## 0.7.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
example:
|
|
26
26
|
|
|
27
27
|
```js
|
|
28
|
-
import { defineConfig } from
|
|
28
|
+
import { defineConfig } from '@lynx-js/rspeedy';
|
|
29
29
|
|
|
30
30
|
export default defineConfig({
|
|
31
31
|
output: {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
- Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
|
|
121
121
|
|
|
122
122
|
```js
|
|
123
|
-
import { LynxTemplatePlugin } from
|
|
123
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
124
124
|
|
|
125
125
|
new LynxTemplatePlugin({
|
|
126
126
|
defaultOverflowVisible: false,
|
|
@@ -139,10 +139,10 @@
|
|
|
139
139
|
- 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
|
|
140
140
|
|
|
141
141
|
```js
|
|
142
|
-
import { LynxTemplatePlugin } from
|
|
142
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
143
143
|
|
|
144
144
|
const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
|
|
145
|
-
hooks.beforeEncode.tap(
|
|
145
|
+
hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
|
|
146
146
|
console.log(entryNames);
|
|
147
147
|
});
|
|
148
148
|
```
|
package/package.json
CHANGED