@unocss/webpack 0.56.3 → 0.56.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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -31,7 +31,7 @@ const SKIP_START_COMMENT = "@unocss-skip-start";
|
|
|
31
31
|
const SKIP_END_COMMENT = "@unocss-skip-end";
|
|
32
32
|
const SKIP_COMMENT_RE = new RegExp(`(//\\s*?${SKIP_START_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_START_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_START_COMMENT}\\s*?-->)[\\s\\S]*?(//\\s*?${SKIP_END_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_END_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_END_COMMENT}\\s*?-->)`, "g");
|
|
33
33
|
|
|
34
|
-
const defaultPipelineExclude = [
|
|
34
|
+
const defaultPipelineExclude = [core.cssIdRE];
|
|
35
35
|
const defaultPipelineInclude = [/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/];
|
|
36
36
|
|
|
37
37
|
function deprecationCheck(config) {
|
package/dist/index.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const SKIP_START_COMMENT = "@unocss-skip-start";
|
|
|
18
18
|
const SKIP_END_COMMENT = "@unocss-skip-end";
|
|
19
19
|
const SKIP_COMMENT_RE = new RegExp(`(//\\s*?${SKIP_START_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_START_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_START_COMMENT}\\s*?-->)[\\s\\S]*?(//\\s*?${SKIP_END_COMMENT}\\s*?|\\/\\*\\s*?${SKIP_END_COMMENT}\\s*?\\*\\/|<!--\\s*?${SKIP_END_COMMENT}\\s*?-->)`, "g");
|
|
20
20
|
|
|
21
|
-
const defaultPipelineExclude = [
|
|
21
|
+
const defaultPipelineExclude = [cssIdRE];
|
|
22
22
|
const defaultPipelineInclude = [/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/];
|
|
23
23
|
|
|
24
24
|
function deprecationCheck(config) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.4",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"magic-string": "^0.30.3",
|
|
44
44
|
"unplugin": "^1.5.0",
|
|
45
45
|
"webpack-sources": "^3.2.3",
|
|
46
|
-
"@unocss/config": "0.56.
|
|
47
|
-
"@unocss/core": "0.56.
|
|
46
|
+
"@unocss/config": "0.56.4",
|
|
47
|
+
"@unocss/core": "0.56.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/webpack": "^5.28.3",
|