@unocss/webpack 0.11.4 → 0.11.5
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.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var import_unplugin = __toModule(require("unplugin"));
|
|
|
33
33
|
var import_pluginutils = __toModule(require("@rollup/pluginutils"));
|
|
34
34
|
var import_webpack_sources = __toModule(require("webpack-sources"));
|
|
35
35
|
|
|
36
|
-
// ../
|
|
36
|
+
// ../plugins-common/utils.ts
|
|
37
37
|
var import_crypto = __toModule(require("crypto"));
|
|
38
38
|
function getPath(id) {
|
|
39
39
|
return id.replace(/\?.*$/, "");
|
|
@@ -47,7 +47,6 @@ var defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$
|
|
|
47
47
|
var VIRTUAL_ENTRY_ALIAS = [
|
|
48
48
|
/^(?:virtual:)?uno(?::(.+))?\.css(\?.*)?$/
|
|
49
49
|
];
|
|
50
|
-
var LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g;
|
|
51
50
|
var LAYER_MARK_ALL = "__ALL__";
|
|
52
51
|
function resolveId(id) {
|
|
53
52
|
for (const alias of VIRTUAL_ENTRY_ALIAS) {
|
|
@@ -63,6 +62,7 @@ function resolveId(id) {
|
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
}
|
|
65
|
+
var LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g;
|
|
66
66
|
function getLayerPlaceholder(layer) {
|
|
67
67
|
return `#--unocss--{layer:${layer}}`;
|
|
68
68
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { createUnplugin } from "unplugin";
|
|
|
5
5
|
import { createFilter } from "@rollup/pluginutils";
|
|
6
6
|
import WebpackSources from "webpack-sources";
|
|
7
7
|
|
|
8
|
-
// ../
|
|
8
|
+
// ../plugins-common/utils.ts
|
|
9
9
|
import { createHash } from "crypto";
|
|
10
10
|
function getPath(id) {
|
|
11
11
|
return id.replace(/\?.*$/, "");
|
|
@@ -19,7 +19,6 @@ var defaultInclude = [/\.vue$/, /\.vue\?vue/, /\.svelte$/, /\.[jt]sx$/, /\.mdx?$
|
|
|
19
19
|
var VIRTUAL_ENTRY_ALIAS = [
|
|
20
20
|
/^(?:virtual:)?uno(?::(.+))?\.css(\?.*)?$/
|
|
21
21
|
];
|
|
22
|
-
var LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g;
|
|
23
22
|
var LAYER_MARK_ALL = "__ALL__";
|
|
24
23
|
function resolveId(id) {
|
|
25
24
|
for (const alias of VIRTUAL_ENTRY_ALIAS) {
|
|
@@ -35,6 +34,7 @@ function resolveId(id) {
|
|
|
35
34
|
}
|
|
36
35
|
}
|
|
37
36
|
}
|
|
37
|
+
var LAYER_PLACEHOLDER_RE = /(\\?")?#--unocss--\s*{\s*layer\s*:\s*(.+?);?\s*}/g;
|
|
38
38
|
function getLayerPlaceholder(layer) {
|
|
39
39
|
return `#--unocss--{layer:${layer}}`;
|
|
40
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@rollup/pluginutils": "^4.1.1",
|
|
36
|
-
"@unocss/config": "0.11.
|
|
37
|
-
"@unocss/core": "0.11.
|
|
36
|
+
"@unocss/config": "0.11.5",
|
|
37
|
+
"@unocss/core": "0.11.5",
|
|
38
38
|
"unplugin": "^0.2.20",
|
|
39
39
|
"webpack-sources": "^3.2.1"
|
|
40
40
|
},
|