Commit 9033e2d
authored
<!--
Thank you for submitting a pull request!
We appreciate the time and effort you have invested in making these
changes. Please ensure that you provide enough information to allow
others to review your pull request.
Upon submission, your pull request will be automatically assigned with
reviewers.
If you want to learn more about contributing to this project, please
visit:
https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md.
-->
<!-- The AI summary below will be auto-generated - feel free to replace
it with your own. -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **Bug Fixes**
* Patched @lynx-js/template-webpack-plugin and @lynx-js/css-serializer.
* **New Features**
* Exposed CSS namespace directly from @lynx-js/css-serializer.
* Added CSSPlugins export with parserPlugins property.
* Made cssChunksToMap available as a public export from
@lynx-js/css-serializer.
* **Chores**
* Updated test imports and configuration for improved module resolution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
In #2143, we need to use `cssChunksToMap` in
`@lynx-js/lynx-bundle-rslib-config` package.
To avoid repeating ourselves, we extract the `cssChunksToMap` API from
`@lynx-js/template-webpack-plugin` to `@lynx-js/css-serializer`.
## Checklist
<!--- Check and mark with an "x" -->
- [x] Tests updated (or not required).
- [ ] Documentation updated (or not required).
- [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be
clearly marked (or not required).
1 parent d7ab847 commit 9033e2d
File tree
14 files changed
+40
-67
lines changed- .changeset
- packages
- tools/css-serializer
- src
- css
- test
- webpack/template-webpack-plugin
- etc
- src
- css
- web
14 files changed
+40
-67
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
Lines changed: 9 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 12 | + | |
| 13 | + | |
21 | 14 | | |
22 | | - | |
23 | 15 | | |
24 | 16 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 17 | + | |
40 | 18 | | |
41 | | - | |
| 19 | + | |
42 | 20 | | |
43 | 21 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 22 | + | |
| 23 | + | |
48 | 24 | | |
49 | 25 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 26 | | |
57 | 27 | | |
58 | 28 | | |
| |||
98 | 68 | | |
99 | 69 | | |
100 | 70 | | |
101 | | - | |
102 | | - | |
| 71 | + | |
| 72 | + | |
103 | 73 | | |
104 | 74 | | |
105 | 75 | | |
| |||
109 | 79 | | |
110 | 80 | | |
111 | 81 | | |
112 | | - | |
| 82 | + | |
113 | 83 | | |
114 | 84 | | |
115 | 85 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments