Socket
Socket
Sign inDemoInstall

@unocss/transformer-directives

Package Overview
Dependencies
Maintainers
1
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/transformer-directives - npm Package Compare versions

Comparing version 0.26.2 to 0.26.3

9

package.json
{
"name": "@unocss/transformer-directives",
"version": "0.26.2",
"version": "0.26.3",
"description": "UnoCSS transformer for `@apply` directive",

@@ -33,11 +33,6 @@ "keywords": [

"types": "./dist/index.d.ts",
"peerDependencies": {
"@unocss/core": "0.26.2"
},
"dependencies": {
"@unocss/core": "0.26.3",
"css-tree": "^2.0.4"
},
"devDependencies": {
"@unocss/core": "0.26.2"
},
"scripts": {

@@ -44,0 +39,0 @@ "build": "unbuild",

@@ -24,6 +24,23 @@ # @unocss/transformer-directives

Currently only `@apply` is supported.
```css
.custom-div {
@apply text-center my-0 font-medium;
}
```
Will be transformed to:
```css
.custom-div {
margin-top: 0rem;
margin-bottom: 0rem;
text-align: center;
font-weight: 500;
}
```
> Currently only `@apply` is supported.
## License
MIT License © 2022 [hannoeru](https://github.com/hannoeru)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc