@unocss/webpack 0.58.6 → 0.58.8
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 +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -204,7 +204,10 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
204
204
|
ctx.affectedModules.add(id);
|
|
205
205
|
return {
|
|
206
206
|
code,
|
|
207
|
-
map: remapping__default(maps, () =>
|
|
207
|
+
map: remapping__default(maps, (_, ctx2) => {
|
|
208
|
+
ctx2.content = code;
|
|
209
|
+
return null;
|
|
210
|
+
})
|
|
208
211
|
};
|
|
209
212
|
}
|
|
210
213
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -191,7 +191,10 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
191
191
|
ctx.affectedModules.add(id);
|
|
192
192
|
return {
|
|
193
193
|
code,
|
|
194
|
-
map: remapping(maps, () =>
|
|
194
|
+
map: remapping(maps, (_, ctx2) => {
|
|
195
|
+
ctx2.content = code;
|
|
196
|
+
return null;
|
|
197
|
+
})
|
|
195
198
|
};
|
|
196
199
|
}
|
|
197
200
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/webpack",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.8",
|
|
4
4
|
"description": "The Webpack plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"magic-string": "^0.30.8",
|
|
44
44
|
"unplugin": "^1.10.0",
|
|
45
45
|
"webpack-sources": "^3.2.3",
|
|
46
|
-
"@unocss/config": "0.58.
|
|
47
|
-
"@unocss/core": "0.58.
|
|
46
|
+
"@unocss/config": "0.58.8",
|
|
47
|
+
"@unocss/core": "0.58.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/webpack": "^5.28.5",
|
|
51
51
|
"@types/webpack-sources": "^3.2.3",
|
|
52
|
-
"webpack": "^5.
|
|
52
|
+
"webpack": "^5.91.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "unbuild",
|