@unocss/svelte-scoped 0.58.7 → 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/vite.cjs +4 -1
- package/dist/vite.mjs +4 -1
- package/package.json +3 -3
package/dist/vite.cjs
CHANGED
|
@@ -205,7 +205,10 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
205
205
|
ctx.affectedModules.add(id);
|
|
206
206
|
return {
|
|
207
207
|
code,
|
|
208
|
-
map: remapping__default(maps, () =>
|
|
208
|
+
map: remapping__default(maps, (_, ctx2) => {
|
|
209
|
+
ctx2.content = code;
|
|
210
|
+
return null;
|
|
211
|
+
})
|
|
209
212
|
};
|
|
210
213
|
}
|
|
211
214
|
}
|
package/dist/vite.mjs
CHANGED
|
@@ -195,7 +195,10 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
195
195
|
ctx.affectedModules.add(id);
|
|
196
196
|
return {
|
|
197
197
|
code,
|
|
198
|
-
map: remapping(maps, () =>
|
|
198
|
+
map: remapping(maps, (_, ctx2) => {
|
|
199
|
+
ctx2.content = code;
|
|
200
|
+
return null;
|
|
201
|
+
})
|
|
199
202
|
};
|
|
200
203
|
}
|
|
201
204
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/svelte-scoped",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.8",
|
|
5
5
|
"description": "Use UnoCSS in a modular fashion with styles being stored only in the Svelte component they are used in: Vite plugin for apps, Svelte preprocessor for component libraries",
|
|
6
6
|
"author": "Jacob Bowdoin",
|
|
7
7
|
"license": "MIT",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"css-tree": "^2.3.1",
|
|
56
56
|
"magic-string": "^0.30.8",
|
|
57
|
-
"@unocss/
|
|
58
|
-
"@unocss/
|
|
57
|
+
"@unocss/config": "0.58.8",
|
|
58
|
+
"@unocss/reset": "0.58.8"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"prettier-plugin-svelte": "^2.10.1",
|