@unocss/vite 0.26.0 → 0.26.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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -12,7 +12,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
|
|
13
13
|
const UnocssInspector__default = /*#__PURE__*/_interopDefaultLegacy(UnocssInspector);
|
|
14
14
|
|
|
15
|
-
const
|
|
15
|
+
const regexCssId = /\.(css|postcss|sass|scss|less|stylus|styl)$/;
|
|
16
|
+
const defaultExclude = [regexCssId];
|
|
16
17
|
const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/];
|
|
17
18
|
|
|
18
19
|
const VIRTUAL_ENTRY_ALIAS = [
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,8 @@ import { createConfigLoader } from '@unocss/config';
|
|
|
4
4
|
import { createGenerator, BetterMap } from '@unocss/core';
|
|
5
5
|
import { createHash } from 'crypto';
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const regexCssId = /\.(css|postcss|sass|scss|less|stylus|styl)$/;
|
|
8
|
+
const defaultExclude = [regexCssId];
|
|
8
9
|
const defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$/, /\.astro$/, /\.elm$/];
|
|
9
10
|
|
|
10
11
|
const VIRTUAL_ENTRY_ALIAS = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.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.26.
|
|
39
|
-
"@unocss/core": "0.26.
|
|
40
|
-
"@unocss/transformer-directives": "0.26.
|
|
41
|
-
"@unocss/inspector": "0.26.
|
|
42
|
-
"@unocss/scope": "0.26.
|
|
38
|
+
"@unocss/config": "0.26.1",
|
|
39
|
+
"@unocss/core": "0.26.1",
|
|
40
|
+
"@unocss/transformer-directives": "0.26.1",
|
|
41
|
+
"@unocss/inspector": "0.26.1",
|
|
42
|
+
"@unocss/scope": "0.26.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"vite": "^2.7.13"
|