@unocss/nuxt 0.14.2 → 0.14.3
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.mjs +13 -14
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { dirname, resolve } from 'path';
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
3
|
+
import { defineNuxtModule, addPluginTemplate, addComponentsDir, extendViteConfig, extendWebpackConfig } from '@nuxt/kit';
|
|
4
|
+
import presetUno from '@unocss/preset-uno';
|
|
5
|
+
import presetAttributify from '@unocss/preset-attributify';
|
|
6
|
+
import presetIcons from '@unocss/preset-icons';
|
|
7
|
+
import WebpackPlugin from '@unocss/webpack';
|
|
8
|
+
import VitePlugin from '@unocss/vite';
|
|
9
|
+
|
|
10
|
+
const dir = dirname(fileURLToPath(import.meta.url));
|
|
11
|
+
const index = defineNuxtModule({
|
|
12
12
|
name: "unocss",
|
|
13
13
|
defaults: {
|
|
14
14
|
uno: true,
|
|
@@ -60,6 +60,5 @@ var src_default = defineNuxtModule({
|
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
};
|
|
63
|
+
|
|
64
|
+
export { index as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/nuxt",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"description": "Nuxt module for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@nuxt/kit": "npm:@nuxt/kit-edge@latest",
|
|
40
|
-
"@unocss/core": "0.14.
|
|
41
|
-
"@unocss/preset-attributify": "0.14.
|
|
42
|
-
"@unocss/preset-icons": "0.14.
|
|
43
|
-
"@unocss/preset-uno": "0.14.
|
|
44
|
-
"@unocss/reset": "0.14.
|
|
45
|
-
"@unocss/vite": "0.14.
|
|
46
|
-
"@unocss/webpack": "0.14.
|
|
40
|
+
"@unocss/core": "0.14.3",
|
|
41
|
+
"@unocss/preset-attributify": "0.14.3",
|
|
42
|
+
"@unocss/preset-icons": "0.14.3",
|
|
43
|
+
"@unocss/preset-uno": "0.14.3",
|
|
44
|
+
"@unocss/reset": "0.14.3",
|
|
45
|
+
"@unocss/vite": "0.14.3",
|
|
46
|
+
"@unocss/webpack": "0.14.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@nuxt/schema": "npm:@nuxt/schema-edge@latest"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
|
-
"build": "
|
|
53
|
-
"
|
|
52
|
+
"build": "unbuild",
|
|
53
|
+
"stub": "unbuild --stub"
|
|
54
54
|
}
|
|
55
55
|
}
|