@unocss/vite 0.27.5 → 0.27.6
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 +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -330,6 +330,9 @@ function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter }) {
|
|
|
330
330
|
});
|
|
331
331
|
});
|
|
332
332
|
},
|
|
333
|
+
async buildStart() {
|
|
334
|
+
await uno.generate("", { preflights: true });
|
|
335
|
+
},
|
|
333
336
|
transform(code, id) {
|
|
334
337
|
if (filter(code, id))
|
|
335
338
|
extract(code, id);
|
package/dist/index.mjs
CHANGED
|
@@ -321,6 +321,9 @@ function GlobalModeDevPlugin({ uno, tokens, onInvalidate, extract, filter }) {
|
|
|
321
321
|
});
|
|
322
322
|
});
|
|
323
323
|
},
|
|
324
|
+
async buildStart() {
|
|
325
|
+
await uno.generate("", { preflights: true });
|
|
326
|
+
},
|
|
324
327
|
transform(code, id) {
|
|
325
328
|
if (filter(code, id))
|
|
326
329
|
extract(code, id);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.6",
|
|
4
4
|
"description": "The Vite plugin for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@rollup/pluginutils": "^4.1.2",
|
|
38
|
-
"@unocss/config": "0.27.
|
|
39
|
-
"@unocss/core": "0.27.
|
|
40
|
-
"@unocss/inspector": "0.27.
|
|
41
|
-
"@unocss/scope": "0.27.
|
|
42
|
-
"@unocss/transformer-directives": "0.27.
|
|
38
|
+
"@unocss/config": "0.27.6",
|
|
39
|
+
"@unocss/core": "0.27.6",
|
|
40
|
+
"@unocss/inspector": "0.27.6",
|
|
41
|
+
"@unocss/scope": "0.27.6",
|
|
42
|
+
"@unocss/transformer-directives": "0.27.6",
|
|
43
43
|
"magic-string": "^0.26.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|