@unocss/vite 0.48.5 → 0.49.1
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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -379,8 +379,10 @@ function GlobalModeBuildPlugin(ctx) {
|
|
|
379
379
|
},
|
|
380
380
|
load(id) {
|
|
381
381
|
const layer = resolveLayer(getPath(id));
|
|
382
|
-
if (layer)
|
|
382
|
+
if (layer) {
|
|
383
|
+
vfsLayers.add(layer);
|
|
383
384
|
return getLayerPlaceholder(layer);
|
|
385
|
+
}
|
|
384
386
|
},
|
|
385
387
|
moduleParsed({ id, importedIds }) {
|
|
386
388
|
if (!layerImporterMap.has(id))
|
package/dist/index.mjs
CHANGED
|
@@ -366,8 +366,10 @@ function GlobalModeBuildPlugin(ctx) {
|
|
|
366
366
|
},
|
|
367
367
|
load(id) {
|
|
368
368
|
const layer = resolveLayer(getPath(id));
|
|
369
|
-
if (layer)
|
|
369
|
+
if (layer) {
|
|
370
|
+
vfsLayers.add(layer);
|
|
370
371
|
return getLayerPlaceholder(layer);
|
|
372
|
+
}
|
|
371
373
|
},
|
|
372
374
|
moduleParsed({ id, importedIds }) {
|
|
373
375
|
if (!layerImporterMap.has(id))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/vite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.1",
|
|
4
4
|
"description": "The Vite plugin for UnoCSS",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ampproject/remapping": "^2.2.0",
|
|
46
46
|
"@rollup/pluginutils": "^5.0.2",
|
|
47
|
-
"@unocss/config": "0.
|
|
48
|
-
"@unocss/core": "0.
|
|
49
|
-
"@unocss/inspector": "0.
|
|
50
|
-
"@unocss/scope": "0.
|
|
51
|
-
"@unocss/transformer-directives": "0.
|
|
47
|
+
"@unocss/config": "0.49.1",
|
|
48
|
+
"@unocss/core": "0.49.1",
|
|
49
|
+
"@unocss/inspector": "0.49.1",
|
|
50
|
+
"@unocss/scope": "0.49.1",
|
|
51
|
+
"@unocss/transformer-directives": "0.49.1",
|
|
52
52
|
"chokidar": "^3.5.3",
|
|
53
53
|
"fast-glob": "^3.2.12",
|
|
54
54
|
"magic-string": "^0.27.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@unocss/shared-integration": "0.
|
|
57
|
+
"@unocss/shared-integration": "0.49.1",
|
|
58
58
|
"vite": "^4.0.4"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|