@unocss/vite 0.32.12 → 0.33.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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -44,7 +44,7 @@ const LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g
|
|
|
44
44
|
function getLayerPlaceholder(layer) {
|
|
45
45
|
return `#--unocss--{layer:${layer}}`;
|
|
46
46
|
}
|
|
47
|
-
const HASH_PLACEHOLDER_RE = /#--unocss-hash--\s*{\s*content\s*:\s
|
|
47
|
+
const HASH_PLACEHOLDER_RE = /#--unocss-hash--\s*{\s*content\s*:\s*\\*"(.+?)\\*";?\s*}/g;
|
|
48
48
|
function getHashPlaceholder(hash) {
|
|
49
49
|
return `#--unocss-hash--{content:"${hash}"}`;
|
|
50
50
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -34,7 +34,7 @@ const LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g
|
|
|
34
34
|
function getLayerPlaceholder(layer) {
|
|
35
35
|
return `#--unocss--{layer:${layer}}`;
|
|
36
36
|
}
|
|
37
|
-
const HASH_PLACEHOLDER_RE = /#--unocss-hash--\s*{\s*content\s*:\s
|
|
37
|
+
const HASH_PLACEHOLDER_RE = /#--unocss-hash--\s*{\s*content\s*:\s*\\*"(.+?)\\*";?\s*}/g;
|
|
38
38
|
function getHashPlaceholder(hash) {
|
|
39
39
|
return `#--unocss-hash--{content:"${hash}"}`;
|
|
40
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"description": "The Vite plugin for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@rollup/pluginutils": "^4.2.1",
|
|
46
|
-
"@unocss/config": "0.
|
|
47
|
-
"@unocss/core": "0.
|
|
48
|
-
"@unocss/inspector": "0.
|
|
49
|
-
"@unocss/scope": "0.
|
|
50
|
-
"@unocss/transformer-directives": "0.
|
|
46
|
+
"@unocss/config": "0.33.1",
|
|
47
|
+
"@unocss/core": "0.33.1",
|
|
48
|
+
"@unocss/inspector": "0.33.1",
|
|
49
|
+
"@unocss/scope": "0.33.1",
|
|
50
|
+
"@unocss/transformer-directives": "0.33.1",
|
|
51
51
|
"magic-string": "^0.26.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@unocss/shared-integration": "0.
|
|
55
|
-
"vite": "^2.9.
|
|
54
|
+
"@unocss/shared-integration": "0.33.1",
|
|
55
|
+
"vite": "^2.9.8"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|