@unocss/vite 0.39.2 → 0.41.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -432,14 +432,14 @@ function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter }) {
|
|
|
432
432
|
},
|
|
433
433
|
transform(code, id) {
|
|
434
434
|
if (filter(code, id))
|
|
435
|
-
extract(code, id);
|
|
435
|
+
tasks.push(extract(code, id));
|
|
436
436
|
return null;
|
|
437
437
|
},
|
|
438
438
|
transformIndexHtml: {
|
|
439
439
|
enforce: "pre",
|
|
440
440
|
transform(code, { filename }) {
|
|
441
441
|
setWarnTimer();
|
|
442
|
-
extract(code, filename);
|
|
442
|
+
tasks.push(extract(code, filename));
|
|
443
443
|
}
|
|
444
444
|
},
|
|
445
445
|
resolveId(id) {
|
package/dist/index.mjs
CHANGED
|
@@ -422,14 +422,14 @@ function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter }) {
|
|
|
422
422
|
},
|
|
423
423
|
transform(code, id) {
|
|
424
424
|
if (filter(code, id))
|
|
425
|
-
extract(code, id);
|
|
425
|
+
tasks.push(extract(code, id));
|
|
426
426
|
return null;
|
|
427
427
|
},
|
|
428
428
|
transformIndexHtml: {
|
|
429
429
|
enforce: "pre",
|
|
430
430
|
transform(code, { filename }) {
|
|
431
431
|
setWarnTimer();
|
|
432
|
-
extract(code, filename);
|
|
432
|
+
tasks.push(extract(code, filename));
|
|
433
433
|
}
|
|
434
434
|
},
|
|
435
435
|
resolveId(id) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"description": "The Vite plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -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.41.0",
|
|
47
|
+
"@unocss/core": "0.41.0",
|
|
48
|
+
"@unocss/inspector": "0.41.0",
|
|
49
|
+
"@unocss/scope": "0.41.0",
|
|
50
|
+
"@unocss/transformer-directives": "0.41.0",
|
|
51
51
|
"magic-string": "^0.26.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@unocss/shared-integration": "0.
|
|
55
|
-
"vite": "^2.9.
|
|
54
|
+
"@unocss/shared-integration": "0.41.0",
|
|
55
|
+
"vite": "^2.9.12"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|