@unocss/svelte-scoped 0.62.2 → 0.62.3
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.mjs +1 -1
- package/package.json +4 -4
package/dist/vite.mjs
CHANGED
|
@@ -256,7 +256,7 @@ function ConfigHMRPlugin({ ready }) {
|
|
|
256
256
|
|
|
257
257
|
function UnocssSvelteScopedVite(options = {}) {
|
|
258
258
|
const context = createSvelteScopedContext(options.configOrPath);
|
|
259
|
-
if (context.uno.config.transformers)
|
|
259
|
+
if (context.uno.config.transformers?.length)
|
|
260
260
|
throw new Error('Due to the differences in normal UnoCSS global usage and Svelte Scoped usage, "config.transformers" will be ignored. You can still use transformers in CSS files with the "cssFileTransformers" option.');
|
|
261
261
|
if (!options.classPrefix)
|
|
262
262
|
options.classPrefix = "uno-";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/svelte-scoped",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.62.
|
|
4
|
+
"version": "0.62.3",
|
|
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",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"css-tree": "^2.3.1",
|
|
54
54
|
"magic-string": "^0.30.11",
|
|
55
|
-
"@unocss/config": "0.62.
|
|
56
|
-
"@unocss/reset": "0.62.
|
|
55
|
+
"@unocss/config": "0.62.3",
|
|
56
|
+
"@unocss/reset": "0.62.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"prettier-plugin-svelte": "^2.10.1",
|
|
60
|
-
"svelte": "^4.2.
|
|
60
|
+
"svelte": "^4.2.19"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "unbuild",
|