@unocss/postcss 0.50.0 → 0.50.1
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -178,9 +178,9 @@ function unocss({ content, directiveMap, cwd, configOrPath } = {
|
|
|
178
178
|
throw new Error("UnoCSS config file not found.");
|
|
179
179
|
if (!uno)
|
|
180
180
|
uno = core.createGenerator(cfg.config);
|
|
181
|
-
parseApply(root, uno, directiveMap?.apply || "apply");
|
|
181
|
+
await parseApply(root, uno, directiveMap?.apply || "apply");
|
|
182
182
|
parseTheme(root, uno, directiveMap?.theme || "theme");
|
|
183
|
-
parseScreen(root, uno, directiveMap?.screen || "screen");
|
|
183
|
+
await parseScreen(root, uno, directiveMap?.screen || "screen");
|
|
184
184
|
const globs = content?.filter((v) => typeof v === "string") ?? defaultIncludeGlobs;
|
|
185
185
|
const rawContent = content?.filter((v) => typeof v === "object") ?? [];
|
|
186
186
|
const entries = await fg__default(globs, {
|
package/dist/index.mjs
CHANGED
|
@@ -170,9 +170,9 @@ function unocss({ content, directiveMap, cwd, configOrPath } = {
|
|
|
170
170
|
throw new Error("UnoCSS config file not found.");
|
|
171
171
|
if (!uno)
|
|
172
172
|
uno = createGenerator(cfg.config);
|
|
173
|
-
parseApply(root, uno, directiveMap?.apply || "apply");
|
|
173
|
+
await parseApply(root, uno, directiveMap?.apply || "apply");
|
|
174
174
|
parseTheme(root, uno, directiveMap?.theme || "theme");
|
|
175
|
-
parseScreen(root, uno, directiveMap?.screen || "screen");
|
|
175
|
+
await parseScreen(root, uno, directiveMap?.screen || "screen");
|
|
176
176
|
const globs = content?.filter((v) => typeof v === "string") ?? defaultIncludeGlobs;
|
|
177
177
|
const rawContent = content?.filter((v) => typeof v === "object") ?? [];
|
|
178
178
|
const entries = await fg(globs, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/postcss",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.1",
|
|
4
4
|
"description": "PostCSS plugin for UnoCSS",
|
|
5
5
|
"author": "sibbng <sibbngheid@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"postcss": "^8.4.21"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@unocss/config": "0.50.
|
|
40
|
-
"@unocss/core": "0.50.
|
|
39
|
+
"@unocss/config": "0.50.1",
|
|
40
|
+
"@unocss/core": "0.50.1",
|
|
41
41
|
"css-tree": "^2.3.1",
|
|
42
42
|
"fast-glob": "^3.2.12",
|
|
43
|
-
"magic-string": "^0.
|
|
43
|
+
"magic-string": "^0.30.0",
|
|
44
44
|
"postcss": "^8.4.21"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|