@unocss/transformer-directives 0.47.1 → 0.47.3
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -170,7 +170,7 @@ async function parseApply({ code, uno, options, offset }, node, childNode) {
|
|
|
170
170
|
function transformerDirectives(options = {}) {
|
|
171
171
|
return {
|
|
172
172
|
name: "css-directive",
|
|
173
|
-
enforce: options?.enforce
|
|
173
|
+
enforce: options?.enforce,
|
|
174
174
|
idFilter: (id) => !!id.match(core.cssIdRE),
|
|
175
175
|
transform: (code, id, ctx) => {
|
|
176
176
|
return transformDirectives(code, ctx.uno, options, id);
|
package/dist/index.mjs
CHANGED
|
@@ -166,7 +166,7 @@ async function parseApply({ code, uno, options, offset }, node, childNode) {
|
|
|
166
166
|
function transformerDirectives(options = {}) {
|
|
167
167
|
return {
|
|
168
168
|
name: "css-directive",
|
|
169
|
-
enforce: options?.enforce
|
|
169
|
+
enforce: options?.enforce,
|
|
170
170
|
idFilter: (id) => !!id.match(cssIdRE),
|
|
171
171
|
transform: (code, id, ctx) => {
|
|
172
172
|
return transformDirectives(code, ctx.uno, options, id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/transformer-directives",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.3",
|
|
4
4
|
"description": "UnoCSS transformer for `@apply` directive",
|
|
5
5
|
"author": "hannoeru <me@hanlee.co>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@unocss/core": "0.47.
|
|
35
|
+
"@unocss/core": "0.47.3",
|
|
36
36
|
"css-tree": "^2.2.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|