@unocss/transformer-compile-class 0.49.7 → 0.50.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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -11,7 +11,7 @@ function transformerCompileClass(options = {}) {
|
|
|
11
11
|
} = options;
|
|
12
12
|
const regex = new RegExp(`(["'\`])${core.escapeRegExp(trigger)}\\s([^\\1]*?)\\1`, "g");
|
|
13
13
|
return {
|
|
14
|
-
name: "compile-class",
|
|
14
|
+
name: "@unocss/transformer-compile-class",
|
|
15
15
|
enforce: "pre",
|
|
16
16
|
async transform(s, _, { uno, tokens }) {
|
|
17
17
|
const matches = [...s.original.matchAll(regex)];
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ function transformerCompileClass(options = {}) {
|
|
|
9
9
|
} = options;
|
|
10
10
|
const regex = new RegExp(`(["'\`])${escapeRegExp(trigger)}\\s([^\\1]*?)\\1`, "g");
|
|
11
11
|
return {
|
|
12
|
-
name: "compile-class",
|
|
12
|
+
name: "@unocss/transformer-compile-class",
|
|
13
13
|
enforce: "pre",
|
|
14
14
|
async transform(s, _, { uno, tokens }) {
|
|
15
15
|
const matches = [...s.original.matchAll(regex)];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/transformer-compile-class",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "Compile group of classes into one class",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.
|
|
36
|
+
"@unocss/core": "0.50.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"magic-string": "^0.29.0"
|