@unocss/webpack 0.44.3 → 0.44.7
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
|
@@ -204,7 +204,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
204
204
|
name: "unocss:webpack",
|
|
205
205
|
enforce: "pre",
|
|
206
206
|
transformInclude(id) {
|
|
207
|
-
return filter("", id);
|
|
207
|
+
return filter("", id) && !id.match(/\.html$/);
|
|
208
208
|
},
|
|
209
209
|
async transform(code, id) {
|
|
210
210
|
const result = await applyTransformers(ctx, code, id, "pre");
|
package/dist/index.mjs
CHANGED
|
@@ -194,7 +194,7 @@ function WebpackPlugin(configOrPath, defaults) {
|
|
|
194
194
|
name: "unocss:webpack",
|
|
195
195
|
enforce: "pre",
|
|
196
196
|
transformInclude(id) {
|
|
197
|
-
return filter("", id);
|
|
197
|
+
return filter("", id) && !id.match(/\.html$/);
|
|
198
198
|
},
|
|
199
199
|
async transform(code, id) {
|
|
200
200
|
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.44.
|
|
3
|
+
"version": "0.44.7",
|
|
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.44.
|
|
42
|
-
"@unocss/core": "0.44.
|
|
41
|
+
"@unocss/config": "0.44.7",
|
|
42
|
+
"@unocss/core": "0.44.7",
|
|
43
43
|
"magic-string": "^0.26.2",
|
|
44
44
|
"unplugin": "^0.7.0",
|
|
45
45
|
"webpack-sources": "^3.2.3"
|