@unocss/astro 0.50.3 → 0.50.4
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 -3
- package/dist/index.mjs +2 -2
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const
|
|
3
|
+
const node_path = require('node:path');
|
|
4
|
+
const node_url = require('node:url');
|
|
5
5
|
const VitePlugin = require('@unocss/vite');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
|
|
@@ -21,7 +21,7 @@ function UnoCSSAstroIntegration(options = {}, defaults) {
|
|
|
21
21
|
var _a, _b;
|
|
22
22
|
options.extraContent || (options.extraContent = {});
|
|
23
23
|
(_a = options.extraContent).filesystem || (_a.filesystem = []);
|
|
24
|
-
options.extraContent.filesystem.push(
|
|
24
|
+
options.extraContent.filesystem.push(node_path.resolve(node_url.fileURLToPath(config.root), "src/components/**/*").replace(/\\/g, "/"));
|
|
25
25
|
(_b = config.vite).plugins || (_b.plugins = []);
|
|
26
26
|
config.vite.plugins.push(...VitePlugin__default(options, defaults));
|
|
27
27
|
const injects = [];
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/astro",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.4",
|
|
4
4
|
"description": "UnoCSS integration for Astro",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@unocss/core": "0.50.
|
|
41
|
-
"@unocss/reset": "0.50.
|
|
42
|
-
"@unocss/vite": "0.50.
|
|
40
|
+
"@unocss/core": "0.50.4",
|
|
41
|
+
"@unocss/reset": "0.50.4",
|
|
42
|
+
"@unocss/vite": "0.50.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"astro": "^2.0.
|
|
45
|
+
"astro": "^2.0.17"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "unbuild",
|