@unocss/postcss 0.56.4 → 0.56.5
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 +0 -3
- package/dist/index.mjs +1 -4
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -175,9 +175,6 @@ function calcMaxWidthBySize(size) {
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
function unocss(options = {}) {
|
|
178
|
-
core.warnOnce(
|
|
179
|
-
"`@unocss/postcss` package is in an experimental state right now. It doesn't follow semver, and may introduce breaking changes in patch versions."
|
|
180
|
-
);
|
|
181
178
|
const {
|
|
182
179
|
cwd = process__default.cwd(),
|
|
183
180
|
configOrPath
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { normalize } from 'node:path';
|
|
|
3
3
|
import process from 'node:process';
|
|
4
4
|
import fg from 'fast-glob';
|
|
5
5
|
import postcss from 'postcss';
|
|
6
|
-
import { expandVariantGroup, notNull, regexScopePlaceholder,
|
|
6
|
+
import { expandVariantGroup, notNull, regexScopePlaceholder, createGenerator } from '@unocss/core';
|
|
7
7
|
import { loadConfig } from '@unocss/config';
|
|
8
8
|
import { parse, generate, clone } from 'css-tree';
|
|
9
9
|
import { parseCssColor, colorToString } from '@unocss/rule-utils';
|
|
@@ -166,9 +166,6 @@ function calcMaxWidthBySize(size) {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
function unocss(options = {}) {
|
|
169
|
-
warnOnce(
|
|
170
|
-
"`@unocss/postcss` package is in an experimental state right now. It doesn't follow semver, and may introduce breaking changes in patch versions."
|
|
171
|
-
);
|
|
172
169
|
const {
|
|
173
170
|
cwd = process.cwd(),
|
|
174
171
|
configOrPath
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/postcss",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.5",
|
|
4
4
|
"description": "PostCSS plugin for UnoCSS",
|
|
5
5
|
"author": "sibbng <sibbngheid@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"fast-glob": "^3.3.1",
|
|
41
41
|
"magic-string": "^0.30.3",
|
|
42
42
|
"postcss": "^8.4.30",
|
|
43
|
-
"@unocss/config": "0.56.
|
|
44
|
-
"@unocss/core": "0.56.
|
|
45
|
-
"@unocss/rule-utils": "0.56.
|
|
43
|
+
"@unocss/config": "0.56.5",
|
|
44
|
+
"@unocss/core": "0.56.5",
|
|
45
|
+
"@unocss/rule-utils": "0.56.5"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "unbuild",
|