@lobb-js/studio 0.27.1 → 0.27.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobb-js/studio",
|
|
3
3
|
"license": "UNLICENSED",
|
|
4
|
-
"version": "0.27.
|
|
4
|
+
"version": "0.27.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"postpublish": "./scripts/postpublish.sh"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@lobb-js/core": "^0.31.
|
|
45
|
+
"@lobb-js/core": "^0.31.8",
|
|
46
46
|
"@chromatic-com/storybook": "^4.1.2",
|
|
47
47
|
"@storybook/addon-a11y": "^10.0.1",
|
|
48
48
|
"@storybook/addon-docs": "^10.0.1",
|
|
@@ -13,6 +13,17 @@ export function lobbExtensionsPlugin() {
|
|
|
13
13
|
|
|
14
14
|
return {
|
|
15
15
|
name: "lobb-studio-extensions",
|
|
16
|
+
// Studio.svelte imports `virtual:lobb-studio-extensions` — a Vite-only
|
|
17
|
+
// virtual module. Vite's esbuild-based dep optimizer can't resolve it,
|
|
18
|
+
// so we exclude @lobb-js/studio from optimizeDeps to keep the studio's
|
|
19
|
+
// sources on the plugin pipeline (where this plugin can resolve them).
|
|
20
|
+
config() {
|
|
21
|
+
return {
|
|
22
|
+
optimizeDeps: {
|
|
23
|
+
exclude: ["@lobb-js/studio"],
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
},
|
|
16
27
|
resolveId(id) {
|
|
17
28
|
if (id === virtualModuleId) return resolvedVirtualModuleId;
|
|
18
29
|
},
|