@unocss/nuxt 66.6.6 → 66.6.7
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 +12 -18
- package/dist/index.mjs +1 -5
- package/package.json +16 -16
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
//#region \0rolldown/runtime.js
|
|
3
6
|
var __create = Object.create;
|
|
4
7
|
var __defProp = Object.defineProperty;
|
|
5
8
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -7,16 +10,12 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
10
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
11
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
12
|
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
}
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: ((k) => from[k]).bind(null, key),
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
20
19
|
}
|
|
21
20
|
return to;
|
|
22
21
|
};
|
|
@@ -24,7 +23,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
23
|
value: mod,
|
|
25
24
|
enumerable: true
|
|
26
25
|
}) : target, mod));
|
|
27
|
-
|
|
28
26
|
//#endregion
|
|
29
27
|
let node_path = require("node:path");
|
|
30
28
|
let node_process = require("node:process");
|
|
@@ -47,10 +45,8 @@ let _unocss_preset_wind3 = require("@unocss/preset-wind3");
|
|
|
47
45
|
_unocss_preset_wind3 = __toESM(_unocss_preset_wind3);
|
|
48
46
|
let _unocss_preset_wind4 = require("@unocss/preset-wind4");
|
|
49
47
|
_unocss_preset_wind4 = __toESM(_unocss_preset_wind4);
|
|
50
|
-
|
|
51
48
|
//#region ../../virtual-shared/integration/src/defaults.ts
|
|
52
49
|
const defaultPipelineExclude = [_unocss_core.cssIdRE];
|
|
53
|
-
|
|
54
50
|
//#endregion
|
|
55
51
|
//#region src/options.ts
|
|
56
52
|
function resolveOptions(options) {
|
|
@@ -81,7 +77,6 @@ function resolveOptions(options) {
|
|
|
81
77
|
if (Array.isArray(options.content.pipeline.exclude)) options.content.pipeline.exclude.push(/\?macro=true/);
|
|
82
78
|
}
|
|
83
79
|
}
|
|
84
|
-
|
|
85
80
|
//#endregion
|
|
86
81
|
//#region src/index.ts
|
|
87
82
|
const dir = (0, node_path.dirname)((0, node_url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
|
|
@@ -172,6 +167,5 @@ export default mergeConfigs([${configPaths.map((_, index) => `cfg${index}`).join
|
|
|
172
167
|
});
|
|
173
168
|
}
|
|
174
169
|
});
|
|
175
|
-
|
|
176
170
|
//#endregion
|
|
177
|
-
exports.default = src_default;
|
|
171
|
+
exports.default = src_default;
|
package/dist/index.mjs
CHANGED
|
@@ -11,10 +11,8 @@ import presetTypography from "@unocss/preset-typography";
|
|
|
11
11
|
import presetWebFonts from "@unocss/preset-web-fonts";
|
|
12
12
|
import presetWind3 from "@unocss/preset-wind3";
|
|
13
13
|
import presetWind4 from "@unocss/preset-wind4";
|
|
14
|
-
|
|
15
14
|
//#region ../../virtual-shared/integration/src/defaults.ts
|
|
16
15
|
const defaultPipelineExclude = [cssIdRE];
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
//#region src/options.ts
|
|
20
18
|
function resolveOptions(options) {
|
|
@@ -45,7 +43,6 @@ function resolveOptions(options) {
|
|
|
45
43
|
if (Array.isArray(options.content.pipeline.exclude)) options.content.pipeline.exclude.push(/\?macro=true/);
|
|
46
44
|
}
|
|
47
45
|
}
|
|
48
|
-
|
|
49
46
|
//#endregion
|
|
50
47
|
//#region src/index.ts
|
|
51
48
|
const dir = dirname(fileURLToPath(import.meta.url));
|
|
@@ -136,6 +133,5 @@ export default mergeConfigs([${configPaths.map((_, index) => `cfg${index}`).join
|
|
|
136
133
|
});
|
|
137
134
|
}
|
|
138
135
|
});
|
|
139
|
-
|
|
140
136
|
//#endregion
|
|
141
|
-
export { src_default as default };
|
|
137
|
+
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "66.6.
|
|
4
|
+
"version": "66.6.7",
|
|
5
5
|
"description": "Nuxt module for UnoCSS",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"import": "./dist/index.mjs",
|
|
28
|
+
"require": "./dist/index.cjs"
|
|
29
29
|
},
|
|
30
30
|
"./package.json": "./package.json"
|
|
31
31
|
},
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@nuxt/kit": "^4.3.1",
|
|
41
|
-
"@unocss/config": "66.6.
|
|
42
|
-
"@unocss/preset-attributify": "66.6.
|
|
43
|
-
"@unocss/core": "66.6.
|
|
44
|
-
"@unocss/preset-icons": "66.6.
|
|
45
|
-
"@unocss/preset-
|
|
46
|
-
"@unocss/preset-
|
|
47
|
-
"@unocss/preset-
|
|
48
|
-
"@unocss/
|
|
49
|
-
"@unocss/
|
|
50
|
-
"@unocss/preset-
|
|
51
|
-
"@unocss/vite": "66.6.
|
|
52
|
-
"unocss": "66.6.
|
|
53
|
-
"
|
|
41
|
+
"@unocss/config": "66.6.7",
|
|
42
|
+
"@unocss/preset-attributify": "66.6.7",
|
|
43
|
+
"@unocss/core": "66.6.7",
|
|
44
|
+
"@unocss/preset-icons": "66.6.7",
|
|
45
|
+
"@unocss/preset-typography": "66.6.7",
|
|
46
|
+
"@unocss/preset-tagify": "66.6.7",
|
|
47
|
+
"@unocss/preset-web-fonts": "66.6.7",
|
|
48
|
+
"@unocss/reset": "66.6.7",
|
|
49
|
+
"@unocss/preset-wind4": "66.6.7",
|
|
50
|
+
"@unocss/preset-wind3": "66.6.7",
|
|
51
|
+
"@unocss/vite": "66.6.7",
|
|
52
|
+
"@unocss/webpack": "66.6.7",
|
|
53
|
+
"unocss": "66.6.7"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "tsdown",
|