@unocss/extractor-arbitrary-variants 0.56.0 → 0.56.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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6,7 +6,7 @@ const core = require('@unocss/core');
|
|
|
6
6
|
|
|
7
7
|
const sourceMapRE = /\/\/#\s*sourceMappingURL=.*\n?/g;
|
|
8
8
|
function removeSourceMap(code) {
|
|
9
|
-
if (code.includes("
|
|
9
|
+
if (code.includes("sourceMappingURL="))
|
|
10
10
|
return code.replace(sourceMapRE, "");
|
|
11
11
|
return code;
|
|
12
12
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { defaultSplitRE, isValidSelector } from '@unocss/core';
|
|
|
2
2
|
|
|
3
3
|
const sourceMapRE = /\/\/#\s*sourceMappingURL=.*\n?/g;
|
|
4
4
|
function removeSourceMap(code) {
|
|
5
|
-
if (code.includes("
|
|
5
|
+
if (code.includes("sourceMappingURL="))
|
|
6
6
|
return code.replace(sourceMapRE, "");
|
|
7
7
|
return code;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/extractor-arbitrary-variants",
|
|
3
|
-
"version": "0.56.
|
|
3
|
+
"version": "0.56.1",
|
|
4
4
|
"description": "Extractor arbitrary variants for utilities",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/core": "0.56.
|
|
36
|
+
"@unocss/core": "0.56.1"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "unbuild",
|