@lynx-js/template-webpack-plugin-canary 0.7.0-canary-20250523-5ddec124 → 0.7.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 +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/template-webpack-plugin
|
|
2
2
|
|
|
3
|
-
## 0.7.0
|
|
3
|
+
## 0.7.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
example:
|
|
18
18
|
|
|
19
19
|
```js
|
|
20
|
-
import { defineConfig } from
|
|
20
|
+
import { defineConfig } from '@lynx-js/rspeedy';
|
|
21
21
|
|
|
22
22
|
export default defineConfig({
|
|
23
23
|
output: {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
- Add `defaultOverflowVisible` option to `LynxTemplatePlugin`. ([#78](https://github.com/lynx-family/lynx-stack/pull/78))
|
|
113
113
|
|
|
114
114
|
```js
|
|
115
|
-
import { LynxTemplatePlugin } from
|
|
115
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
116
116
|
|
|
117
117
|
new LynxTemplatePlugin({
|
|
118
118
|
defaultOverflowVisible: false,
|
|
@@ -131,10 +131,10 @@
|
|
|
131
131
|
- 1abf8f0: Add `entryNames` parameter to `beforeEncode` hook.
|
|
132
132
|
|
|
133
133
|
```js
|
|
134
|
-
import { LynxTemplatePlugin } from
|
|
134
|
+
import { LynxTemplatePlugin } from '@lynx-js/template-webpack-plugin';
|
|
135
135
|
|
|
136
136
|
const hooks = LynxTemplatePlugin.getLynxTemplatePluginHooks(compilation);
|
|
137
|
-
hooks.beforeEncode.tap(
|
|
137
|
+
hooks.beforeEncode.tap('MyPlugin', ({ entryNames }) => {
|
|
138
138
|
console.log(entryNames);
|
|
139
139
|
});
|
|
140
140
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/template-webpack-plugin-canary",
|
|
3
|
-
"version": "0.7.0
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Simplifies creation of Lynx template files to serve your webpack bundles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@types/css-tree": "^2.3.10",
|
|
45
45
|
"@types/object.groupby": "^1.0.4",
|
|
46
46
|
"webpack": "^5.99.9",
|
|
47
|
-
"@lynx-js/
|
|
48
|
-
"@lynx-js/
|
|
47
|
+
"@lynx-js/test-tools": "0.0.0",
|
|
48
|
+
"@lynx-js/vitest-setup": "0.0.0"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=18"
|