@unocss/postcss 0.60.3 → 0.61.0
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/esm.mjs +2 -1
- package/package.json +4 -4
package/dist/esm.mjs
CHANGED
|
@@ -161,8 +161,9 @@ function createPlugin(options) {
|
|
|
161
161
|
if (targetRE.test(root.toString())) {
|
|
162
162
|
if (!isTarget) {
|
|
163
163
|
root.walkAtRules((rule) => {
|
|
164
|
-
if (rule.name === directiveMap.unocss || rule.name === directiveMap.apply || rule.name === directiveMap.screen)
|
|
164
|
+
if (rule.name === directiveMap.unocss || rule.name === directiveMap.apply || rule.name === directiveMap.screen) {
|
|
165
165
|
isTarget = true;
|
|
166
|
+
}
|
|
166
167
|
if (isTarget)
|
|
167
168
|
return false;
|
|
168
169
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/postcss",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.61.0",
|
|
5
5
|
"description": "PostCSS plugin for UnoCSS",
|
|
6
6
|
"author": "sibbng <sibbngheid@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"fast-glob": "^3.3.2",
|
|
59
59
|
"magic-string": "^0.30.10",
|
|
60
60
|
"postcss": "^8.4.38",
|
|
61
|
-
"@unocss/config": "0.
|
|
62
|
-
"@unocss/core": "0.
|
|
63
|
-
"@unocss/rule-utils": "0.
|
|
61
|
+
"@unocss/config": "0.61.0",
|
|
62
|
+
"@unocss/core": "0.61.0",
|
|
63
|
+
"@unocss/rule-utils": "0.61.0"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "unbuild",
|