Skip to content

Commit 74ef323

Browse files
committed
feat: add experimental syntax to include compiled CSS into style tag
1 parent bc00a04 commit 74ef323

File tree

4 files changed

+1550
-1617
lines changed

4 files changed

+1550
-1617
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Change log
22

3+
## 5.2.0 (2024-04-06)
4+
5+
- feat: add experimental (undocumented) syntax to include (using `?include` query) compiled CSS directly into style tag to allow keep tag attributes
6+
```pug
7+
style(scope='some')=require('./component.scss?include')
8+
```
9+
will be generate
10+
```html
11+
<style scope="some">
12+
... CSS ...
13+
</style>
14+
```
15+
316
## 5.1.0 (2024-03-21)
417
518
- feat: app the `pretty` and `prettyOptions` options to format the generated HTML

0 commit comments

Comments
 (0)