@unocss/vite 0.27.0 → 0.27.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 -4
- package/dist/index.mjs +1 -4
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -646,10 +646,7 @@ function initTransformerPlugins(ctx) {
|
|
|
646
646
|
}
|
|
647
647
|
await t.transform(s, id, ctx);
|
|
648
648
|
}
|
|
649
|
-
return {
|
|
650
|
-
code: s.toString(),
|
|
651
|
-
map: s.generateMap({ hires: true })
|
|
652
|
-
};
|
|
649
|
+
return s.toRollupResult(true, { hires: true });
|
|
653
650
|
}
|
|
654
651
|
return [
|
|
655
652
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -637,10 +637,7 @@ function initTransformerPlugins(ctx) {
|
|
|
637
637
|
}
|
|
638
638
|
await t.transform(s, id, ctx);
|
|
639
639
|
}
|
|
640
|
-
return {
|
|
641
|
-
code: s.toString(),
|
|
642
|
-
map: s.generateMap({ hires: true })
|
|
643
|
-
};
|
|
640
|
+
return s.toRollupResult(true, { hires: true });
|
|
644
641
|
}
|
|
645
642
|
return [
|
|
646
643
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
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.1",
|
|
39
|
+
"@unocss/core": "0.27.1",
|
|
40
|
+
"@unocss/inspector": "0.27.1",
|
|
41
|
+
"@unocss/scope": "0.27.1",
|
|
42
|
+
"@unocss/transformer-directives": "0.27.1",
|
|
43
43
|
"magic-string-extra": "^0.1.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|