@lynx-js/template-webpack-plugin-canary 0.8.0-canary-20250620-6fbe9650 → 0.8.0
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.8.0
|
|
3
|
+
## 0.8.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
example:
|
|
45
45
|
|
|
46
46
|
```js
|
|
47
|
-
import { defineConfig } from
|
|
47
|
+
import { defineConfig } from '@lynx-js/rspeedy';
|
|
48
48
|
|
|
49
49
|
export default defineConfig({
|
|
50
50
|
output: {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
- Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
|
|
140
140
|
|
|
141
141
|
```js
|
|
142
|
-
import { LynxTemplatePlugin } from
|
|
142
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
143
143
|
|
|
144
144
|
new LynxTemplatePlugin({
|
|
145
145
|
defaultOverflowVisible: false,
|
|
@@ -158,10 +158,10 @@
|
|
|
158
158
|
- 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
|
|
159
159
|
|
|
160
160
|
```js
|
|
161
|
-
import { LynxTemplatePlugin } from
|
|
161
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
162
162
|
|
|
163
163
|
const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
|
|
164
|
-
hooks.beforeEncode.tap(
|
|
164
|
+
hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
|
|
165
165
|
console.log(entryNames);
|
|
166
166
|
});
|
|
167
167
|
```
|
package/package.json
CHANGED