Skip to content

Commit

Permalink
feat: add experimental syntax to include compiled CSS into style tag
Browse files Browse the repository at this point in the history
  • Loading branch information
webdiscus committed Apr 5, 2024
1 parent bc00a04 commit 74ef323
Show file tree
Hide file tree
Showing 4 changed files with 1,550 additions and 1,617 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change log

## 5.2.0 (2024-04-06)

- feat: add experimental (undocumented) syntax to include (using `?include` query) compiled CSS directly into style tag to allow keep tag attributes
```pug
style(scope='some')=require('./component.scss?include')
```
will be generate
```html
<style scope="some">
... CSS ...
</style>
```
## 5.1.0 (2024-03-21)
- feat: app the `pretty` and `prettyOptions` options to format the generated HTML
Expand Down
Loading

0 comments on commit 74ef323

Please sign in to comment.