unocss 0.58.9 → 0.59.0

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/postcss.cjs CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';
1
+ 'use strict';Object.defineProperty(exports, '__esModule', {value: true});
2
2
 
3
3
  const postcss = require('@unocss/postcss');
4
4
 
@@ -8,4 +8,4 @@ const postcss__default = /*#__PURE__*/_interopDefaultCompat(postcss);
8
8
 
9
9
 
10
10
 
11
- module.exports = postcss__default;
11
+ exports.default = postcss__default;
package/dist/webpack.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import WebpackPlugin__default from '@unocss/webpack';
2
2
  export * from '@unocss/webpack';
3
- import presetUno__default from '@unocss/preset-uno';
3
+ import presetUno from '@unocss/preset-uno';
4
4
 
5
5
  function UnocssWebpackPlugin(configOrPath) {
6
6
  return WebpackPlugin__default(
7
7
  configOrPath,
8
8
  {
9
9
  presets: [
10
- presetUno__default()
10
+ presetUno()
11
11
  ]
12
12
  }
13
13
  );
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.58.9",
3
+ "type": "module",
4
+ "version": "0.59.0",
4
5
  "description": "The instant on-demand Atomic CSS engine.",
5
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
7
  "license": "MIT",
@@ -27,72 +28,71 @@
27
28
  "sideEffects": false,
28
29
  "exports": {
29
30
  ".": {
30
- "types": "./dist/index.d.ts",
31
- "import": "./dist/index.mjs",
32
- "require": "./dist/index.cjs"
31
+ "types": "./dist/index.d.mts",
32
+ "default": "./dist/index.mjs"
33
33
  },
34
34
  "./preset-attributify": {
35
- "types": "./dist/preset-attributify.d.ts",
36
- "import": "./dist/preset-attributify.mjs",
37
- "require": "./dist/preset-attributify.cjs"
35
+ "types": "./dist/preset-attributify.d.mts",
36
+ "default": "./dist/preset-attributify.mjs"
38
37
  },
39
38
  "./preset-tagify": {
40
- "types": "./dist/preset-tagify.d.ts",
41
- "import": "./dist/preset-tagify.mjs",
42
- "require": "./dist/preset-tagify.cjs"
39
+ "types": "./dist/preset-tagify.d.mts",
40
+ "default": "./dist/preset-tagify.mjs"
43
41
  },
44
42
  "./preset-icons": {
45
- "types": "./dist/preset-icons.d.ts",
46
- "import": "./dist/preset-icons.mjs",
47
- "require": "./dist/preset-icons.cjs"
43
+ "types": "./dist/preset-icons.d.mts",
44
+ "default": "./dist/preset-icons.mjs"
48
45
  },
49
46
  "./preset-mini": {
50
- "types": "./dist/preset-mini.d.ts",
51
- "import": "./dist/preset-mini.mjs",
52
- "require": "./dist/preset-mini.cjs"
47
+ "types": "./dist/preset-mini.d.mts",
48
+ "default": "./dist/preset-mini.mjs"
53
49
  },
54
50
  "./preset-typography": {
55
- "types": "./dist/preset-typography.d.ts",
56
- "import": "./dist/preset-typography.mjs",
57
- "require": "./dist/preset-typography.cjs"
51
+ "types": "./dist/preset-typography.d.mts",
52
+ "default": "./dist/preset-typography.mjs"
58
53
  },
59
54
  "./preset-uno": {
60
- "types": "./dist/preset-uno.d.ts",
61
- "import": "./dist/preset-uno.mjs",
62
- "require": "./dist/preset-uno.cjs"
55
+ "types": "./dist/preset-uno.d.mts",
56
+ "default": "./dist/preset-uno.mjs"
63
57
  },
64
58
  "./preset-web-fonts": {
65
- "types": "./dist/preset-web-fonts.d.ts",
66
- "import": "./dist/preset-web-fonts.mjs",
67
- "require": "./dist/preset-web-fonts.cjs"
59
+ "types": "./dist/preset-web-fonts.d.mts",
60
+ "default": "./dist/preset-web-fonts.mjs"
68
61
  },
69
62
  "./preset-wind": {
70
- "types": "./dist/preset-wind.d.ts",
71
- "import": "./dist/preset-wind.mjs",
72
- "require": "./dist/preset-wind.cjs"
63
+ "types": "./dist/preset-wind.d.mts",
64
+ "default": "./dist/preset-wind.mjs"
73
65
  },
74
66
  "./vite": {
75
- "types": "./dist/vite.d.ts",
76
- "import": "./dist/vite.mjs",
77
- "require": "./dist/vite.cjs"
67
+ "types": "./dist/vite.d.mts",
68
+ "default": "./dist/vite.mjs"
78
69
  },
79
70
  "./astro": {
80
- "types": "./dist/astro.d.ts",
81
- "import": "./dist/astro.mjs",
82
- "require": "./dist/astro.cjs"
71
+ "types": "./dist/astro.d.mts",
72
+ "default": "./dist/astro.mjs"
83
73
  },
84
74
  "./webpack": {
85
- "types": "./dist/webpack.d.ts",
86
- "import": "./dist/webpack.mjs",
87
- "require": "./dist/webpack.cjs"
75
+ "import": {
76
+ "types": "./dist/webpack.d.mts",
77
+ "default": "./dist/webpack.mjs"
78
+ },
79
+ "require": {
80
+ "types": "./dist/webpack.d.cts",
81
+ "default": "./dist/webpack.cjs"
82
+ }
88
83
  },
89
84
  "./postcss": {
90
- "types": "./dist/postcss.d.ts",
91
- "import": "./dist/postcss.mjs",
92
- "require": "./dist/postcss.cjs"
85
+ "import": {
86
+ "types": "./dist/postcss.d.mts",
87
+ "default": "./dist/postcss.mjs"
88
+ },
89
+ "require": {
90
+ "types": "./dist/postcss.d.cts",
91
+ "default": "./dist/postcss.cjs"
92
+ }
93
93
  }
94
94
  },
95
- "main": "dist/index.cjs",
95
+ "main": "dist/index.mjs",
96
96
  "module": "dist/index.mjs",
97
97
  "types": "index.d.ts",
98
98
  "files": [
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "peerDependencies": {
106
106
  "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0",
107
- "@unocss/webpack": "0.58.9"
107
+ "@unocss/webpack": "0.59.0"
108
108
  },
109
109
  "peerDependenciesMeta": {
110
110
  "@unocss/webpack": {
@@ -115,30 +115,30 @@
115
115
  }
116
116
  },
117
117
  "dependencies": {
118
- "@unocss/cli": "0.58.9",
119
- "@unocss/astro": "0.58.9",
120
- "@unocss/core": "0.58.9",
121
- "@unocss/extractor-arbitrary-variants": "0.58.9",
122
- "@unocss/postcss": "0.58.9",
123
- "@unocss/preset-attributify": "0.58.9",
124
- "@unocss/preset-mini": "0.58.9",
125
- "@unocss/preset-icons": "0.58.9",
126
- "@unocss/preset-tagify": "0.58.9",
127
- "@unocss/preset-uno": "0.58.9",
128
- "@unocss/preset-typography": "0.58.9",
129
- "@unocss/preset-web-fonts": "0.58.9",
130
- "@unocss/preset-wind": "0.58.9",
131
- "@unocss/reset": "0.58.9",
132
- "@unocss/transformer-attributify-jsx-babel": "0.58.9",
133
- "@unocss/transformer-variant-group": "0.58.9",
134
- "@unocss/transformer-attributify-jsx": "0.58.9",
135
- "@unocss/transformer-directives": "0.58.9",
136
- "@unocss/vite": "0.58.9",
137
- "@unocss/transformer-compile-class": "0.58.9"
118
+ "@unocss/astro": "0.59.0",
119
+ "@unocss/cli": "0.59.0",
120
+ "@unocss/core": "0.59.0",
121
+ "@unocss/extractor-arbitrary-variants": "0.59.0",
122
+ "@unocss/preset-icons": "0.59.0",
123
+ "@unocss/postcss": "0.59.0",
124
+ "@unocss/preset-attributify": "0.59.0",
125
+ "@unocss/preset-tagify": "0.59.0",
126
+ "@unocss/preset-uno": "0.59.0",
127
+ "@unocss/preset-mini": "0.59.0",
128
+ "@unocss/preset-typography": "0.59.0",
129
+ "@unocss/preset-web-fonts": "0.59.0",
130
+ "@unocss/preset-wind": "0.59.0",
131
+ "@unocss/reset": "0.59.0",
132
+ "@unocss/transformer-attributify-jsx": "0.59.0",
133
+ "@unocss/transformer-attributify-jsx-babel": "0.59.0",
134
+ "@unocss/transformer-compile-class": "0.59.0",
135
+ "@unocss/transformer-directives": "0.59.0",
136
+ "@unocss/transformer-variant-group": "0.59.0",
137
+ "@unocss/vite": "0.59.0"
138
138
  },
139
139
  "devDependencies": {
140
- "vite": "^5.2.7",
141
- "@unocss/webpack": "0.58.9"
140
+ "vite": "^5.2.8",
141
+ "@unocss/webpack": "0.59.0"
142
142
  },
143
143
  "scripts": {
144
144
  "build": "unbuild",
package/dist/astro.cjs DELETED
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- const AstroIntegrationPlugin = require('@unocss/astro');
4
- const presetUno = require('@unocss/preset-uno');
5
-
6
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
7
-
8
- const AstroIntegrationPlugin__default = /*#__PURE__*/_interopDefaultCompat(AstroIntegrationPlugin);
9
- const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
10
-
11
- function UnocssAstroIntegration(config) {
12
- return AstroIntegrationPlugin__default(
13
- config,
14
- {
15
- presets: [
16
- presetUno__default()
17
- ]
18
- }
19
- );
20
- }
21
-
22
- module.exports = UnocssAstroIntegration;
package/dist/astro.d.cts DELETED
@@ -1,6 +0,0 @@
1
- import { AstroIntegrationConfig } from '@unocss/astro';
2
- import { AstroIntegration } from 'astro';
3
-
4
- declare function UnocssAstroIntegration<Theme extends object>(config?: AstroIntegrationConfig<Theme>): AstroIntegration;
5
-
6
- export { UnocssAstroIntegration as default };
package/dist/index.cjs DELETED
@@ -1,58 +0,0 @@
1
- 'use strict';
2
-
3
- const core = require('@unocss/core');
4
- const presetUno = require('@unocss/preset-uno');
5
- const presetAttributify = require('@unocss/preset-attributify');
6
- const presetTagify = require('@unocss/preset-tagify');
7
- const presetIcons = require('@unocss/preset-icons');
8
- const presetWebFonts = require('@unocss/preset-web-fonts');
9
- const presetTypography = require('@unocss/preset-typography');
10
- const presetMini = require('@unocss/preset-mini');
11
- const presetWind = require('@unocss/preset-wind');
12
- const transformerDirectives = require('@unocss/transformer-directives');
13
- const transformerVariantGroup = require('@unocss/transformer-variant-group');
14
- const transformerCompileClass = require('@unocss/transformer-compile-class');
15
- const transformerAttributifyJsx = require('@unocss/transformer-attributify-jsx');
16
-
17
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
18
-
19
- const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
20
- const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttributify);
21
- const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
22
- const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
23
- const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFonts);
24
- const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypography);
25
- const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
26
- const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
27
- const transformerDirectives__default = /*#__PURE__*/_interopDefaultCompat(transformerDirectives);
28
- const transformerVariantGroup__default = /*#__PURE__*/_interopDefaultCompat(transformerVariantGroup);
29
- const transformerCompileClass__default = /*#__PURE__*/_interopDefaultCompat(transformerCompileClass);
30
- const transformerAttributifyJsx__default = /*#__PURE__*/_interopDefaultCompat(transformerAttributifyJsx);
31
-
32
- function defineConfig(config) {
33
- return config;
34
- }
35
-
36
- exports.presetUno = presetUno__default;
37
- exports.presetAttributify = presetAttributify__default;
38
- exports.presetTagify = presetTagify__default;
39
- exports.presetIcons = presetIcons__default;
40
- exports.presetWebFonts = presetWebFonts__default;
41
- exports.presetTypography = presetTypography__default;
42
- exports.presetMini = presetMini__default;
43
- exports.presetWind = presetWind__default;
44
- exports.transformerDirectives = transformerDirectives__default;
45
- exports.transformerVariantGroup = transformerVariantGroup__default;
46
- exports.transformerCompileClass = transformerCompileClass__default;
47
- exports.transformerAttributifyJsx = transformerAttributifyJsx__default;
48
- exports.defineConfig = defineConfig;
49
- Object.prototype.hasOwnProperty.call(core, '__proto__') &&
50
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
51
- Object.defineProperty(exports, '__proto__', {
52
- enumerable: true,
53
- value: core['__proto__']
54
- });
55
-
56
- Object.keys(core).forEach(function (k) {
57
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
58
- });
package/dist/index.d.cts DELETED
@@ -1,22 +0,0 @@
1
- import { UserConfig } from '@unocss/core';
2
- export * from '@unocss/core';
3
- import { Theme } from '@unocss/preset-uno';
4
- export { default as presetUno } from '@unocss/preset-uno';
5
- export { default as presetAttributify } from '@unocss/preset-attributify';
6
- export { default as presetTagify } from '@unocss/preset-tagify';
7
- export { default as presetIcons } from '@unocss/preset-icons';
8
- export { default as presetWebFonts } from '@unocss/preset-web-fonts';
9
- export { default as presetTypography } from '@unocss/preset-typography';
10
- export { default as presetMini } from '@unocss/preset-mini';
11
- export { default as presetWind } from '@unocss/preset-wind';
12
- export { default as transformerDirectives } from '@unocss/transformer-directives';
13
- export { default as transformerVariantGroup } from '@unocss/transformer-variant-group';
14
- export { default as transformerCompileClass } from '@unocss/transformer-compile-class';
15
- export { default as transformerAttributifyJsx } from '@unocss/transformer-attributify-jsx';
16
-
17
- /**
18
- * Define UnoCSS config
19
- */
20
- declare function defineConfig<T extends object = Theme>(config: UserConfig<T>): UserConfig<T>;
21
-
22
- export { defineConfig };
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetAttributify = require('@unocss/preset-attributify');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttributify);
10
-
11
-
12
-
13
- exports.default = presetAttributify__default;
14
- Object.prototype.hasOwnProperty.call(presetAttributify, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetAttributify['__proto__']
19
- });
20
-
21
- Object.keys(presetAttributify).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetAttributify[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-attributify';
2
- export { default } from '@unocss/preset-attributify';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetIcons = require('@unocss/preset-icons');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
10
-
11
-
12
-
13
- exports.default = presetIcons__default;
14
- Object.prototype.hasOwnProperty.call(presetIcons, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetIcons['__proto__']
19
- });
20
-
21
- Object.keys(presetIcons).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetIcons[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-icons';
2
- export { default } from '@unocss/preset-icons';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetMini = require('@unocss/preset-mini');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
10
-
11
-
12
-
13
- exports.default = presetMini__default;
14
- Object.prototype.hasOwnProperty.call(presetMini, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetMini['__proto__']
19
- });
20
-
21
- Object.keys(presetMini).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetMini[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-mini';
2
- export { default } from '@unocss/preset-mini';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetTagify = require('@unocss/preset-tagify');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
10
-
11
-
12
-
13
- exports.default = presetTagify__default;
14
- Object.prototype.hasOwnProperty.call(presetTagify, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetTagify['__proto__']
19
- });
20
-
21
- Object.keys(presetTagify).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTagify[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-tagify';
2
- export { default } from '@unocss/preset-tagify';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetTypography = require('@unocss/preset-typography');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypography);
10
-
11
-
12
-
13
- exports.default = presetTypography__default;
14
- Object.prototype.hasOwnProperty.call(presetTypography, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetTypography['__proto__']
19
- });
20
-
21
- Object.keys(presetTypography).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTypography[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-typography';
2
- export { default } from '@unocss/preset-typography';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetUno = require('@unocss/preset-uno');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
10
-
11
-
12
-
13
- exports.default = presetUno__default;
14
- Object.prototype.hasOwnProperty.call(presetUno, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetUno['__proto__']
19
- });
20
-
21
- Object.keys(presetUno).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetUno[k];
23
- });
@@ -1,9 +0,0 @@
1
- export * from '@unocss/preset-uno';
2
- export { default } from '@unocss/preset-uno';
3
- import '@unocss/preset-icons';
4
- import '@unocss/preset-attributify';
5
- import '@unocss/preset-tagify';
6
- import '@unocss/preset-web-fonts';
7
- import '@unocss/preset-typography';
8
- import '@unocss/preset-wind';
9
- import '@unocss/preset-mini';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetWebFonts = require('@unocss/preset-web-fonts');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFonts);
10
-
11
-
12
-
13
- exports.default = presetWebFonts__default;
14
- Object.prototype.hasOwnProperty.call(presetWebFonts, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetWebFonts['__proto__']
19
- });
20
-
21
- Object.keys(presetWebFonts).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWebFonts[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-web-fonts';
2
- export { default } from '@unocss/preset-web-fonts';
@@ -1,23 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const presetWind = require('@unocss/preset-wind');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
8
-
9
- const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
10
-
11
-
12
-
13
- exports.default = presetWind__default;
14
- Object.prototype.hasOwnProperty.call(presetWind, '__proto__') &&
15
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
16
- Object.defineProperty(exports, '__proto__', {
17
- enumerable: true,
18
- value: presetWind['__proto__']
19
- });
20
-
21
- Object.keys(presetWind).forEach(function (k) {
22
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWind[k];
23
- });
@@ -1,2 +0,0 @@
1
- export * from '@unocss/preset-wind';
2
- export { default } from '@unocss/preset-wind';
package/dist/vite.cjs DELETED
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const VitePlugin = require('@unocss/vite');
6
- const presetUno = require('@unocss/preset-uno');
7
-
8
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
9
-
10
- const VitePlugin__default = /*#__PURE__*/_interopDefaultCompat(VitePlugin);
11
- const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
12
-
13
- function UnocssVitePlugin(configOrPath) {
14
- return VitePlugin__default(
15
- configOrPath,
16
- {
17
- presets: [
18
- presetUno__default()
19
- ]
20
- }
21
- );
22
- }
23
-
24
- exports.default = UnocssVitePlugin;
25
- Object.prototype.hasOwnProperty.call(VitePlugin, '__proto__') &&
26
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
27
- Object.defineProperty(exports, '__proto__', {
28
- enumerable: true,
29
- value: VitePlugin['__proto__']
30
- });
31
-
32
- Object.keys(VitePlugin).forEach(function (k) {
33
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = VitePlugin[k];
34
- });
package/dist/vite.d.cts DELETED
@@ -1,7 +0,0 @@
1
- import { VitePluginConfig } from '@unocss/vite';
2
- export * from '@unocss/vite';
3
- import { Plugin } from 'vite';
4
-
5
- declare function UnocssVitePlugin<Theme extends object>(configOrPath?: VitePluginConfig<Theme> | string): Plugin[];
6
-
7
- export { UnocssVitePlugin as default };