@open-slide/core 0.0.1 → 0.0.2
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/{build-0xQdMJb7.js → build-DJGuOT6x.js} +1 -1
- package/dist/cli/bin.js +3 -3
- package/dist/{config-Dk8ASJ8X.js → config-Opp2R1Jf.js} +11 -0
- package/dist/{dev-BN2k5C-N.js → dev-0SG0ArzD.js} +1 -1
- package/dist/{preview-B-xUqFKf.js → preview-61Aawrlg.js} +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +1 -1
- package/src/app/routes/Deck.tsx +1 -1
package/dist/cli/bin.js
CHANGED
|
@@ -30,17 +30,17 @@ async function run(argv) {
|
|
|
30
30
|
return;
|
|
31
31
|
}
|
|
32
32
|
if (cmd === "dev") {
|
|
33
|
-
const { dev } = await import("../dev-
|
|
33
|
+
const { dev } = await import("../dev-0SG0ArzD.js");
|
|
34
34
|
await dev();
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
37
|
if (cmd === "build") {
|
|
38
|
-
const { build } = await import("../build-
|
|
38
|
+
const { build } = await import("../build-DJGuOT6x.js");
|
|
39
39
|
await build();
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
if (cmd === "preview") {
|
|
43
|
-
const { preview } = await import("../preview-
|
|
43
|
+
const { preview } = await import("../preview-61Aawrlg.js");
|
|
44
44
|
await preview();
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
@@ -305,6 +305,17 @@ async function createViteConfig(opts) {
|
|
|
305
305
|
})
|
|
306
306
|
],
|
|
307
307
|
resolve: { alias: { "@": APP_ROOT } },
|
|
308
|
+
optimizeDeps: {
|
|
309
|
+
entries: [path.join(APP_ROOT, "main.tsx")],
|
|
310
|
+
include: [
|
|
311
|
+
"react-router-dom",
|
|
312
|
+
"radix-ui",
|
|
313
|
+
"lucide-react",
|
|
314
|
+
"clsx",
|
|
315
|
+
"tailwind-merge",
|
|
316
|
+
"class-variance-authority"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
308
319
|
server: {
|
|
309
320
|
port: config.port ?? 5173,
|
|
310
321
|
fs: { allow: [
|
package/dist/vite/index.js
CHANGED
package/package.json
CHANGED
package/src/app/routes/Deck.tsx
CHANGED
|
@@ -143,7 +143,7 @@ export function Deck() {
|
|
|
143
143
|
</header>
|
|
144
144
|
|
|
145
145
|
<div className="flex min-h-0 flex-1">
|
|
146
|
-
<div className="w-
|
|
146
|
+
<div className="w-[17rem] shrink-0">
|
|
147
147
|
<ThumbnailRail pages={pages} current={index} onSelect={goTo} />
|
|
148
148
|
</div>
|
|
149
149
|
<main className="relative min-h-0 min-w-0 flex-1 bg-background p-8">
|