@unocss/webpack 0.45.9 → 0.45.14
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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -212,7 +212,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
212
212
|
name: "unocss:webpack",
|
|
213
213
|
enforce: "pre",
|
|
214
214
|
transformInclude(id) {
|
|
215
|
-
return filter("", id) && !id.match(/\.html$/);
|
|
215
|
+
return filter("", id) && !id.match(/\.html$/) && !RESOLVED_ID_RE.test(id);
|
|
216
216
|
},
|
|
217
217
|
async transform(code, id) {
|
|
218
218
|
const result = await applyTransformers(ctx, code, id, "pre");
|
package/dist/index.mjs
CHANGED
|
@@ -202,7 +202,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
202
202
|
name: "unocss:webpack",
|
|
203
203
|
enforce: "pre",
|
|
204
204
|
transformInclude(id) {
|
|
205
|
-
return filter("", id) && !id.match(/\.html$/);
|
|
205
|
+
return filter("", id) && !id.match(/\.html$/) && !RESOLVED_ID_RE.test(id);
|
|
206
206
|
},
|
|
207
207
|
async transform(code, id) {
|
|
208
208
|
const result = await applyTransformers(ctx, code, id, "pre");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.14",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ampproject/remapping": "^2.2.0",
|
|
40
40
|
"@rollup/pluginutils": "^4.2.1",
|
|
41
|
-
"@unocss/config": "0.45.
|
|
42
|
-
"@unocss/core": "0.45.
|
|
41
|
+
"@unocss/config": "0.45.14",
|
|
42
|
+
"@unocss/core": "0.45.14",
|
|
43
43
|
"magic-string": "^0.26.2",
|
|
44
44
|
"unplugin": "^0.9.4",
|
|
45
45
|
"webpack-sources": "^3.2.3"
|