hono-decks 0.1.0

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.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { Plugin } from 'vite';
2
+
3
+ /** Options for the Hono Decks Vite integration. */
4
+ interface HonoDecksViteOptions {
5
+ /** Config file relative to Vite's project root. */
6
+ configFile?: string;
7
+ /** Refresh remote OGP metadata during compilation. */
8
+ refreshOgp?: boolean;
9
+ }
10
+ /**
11
+ * Compiles decks before Vite starts and regenerates them while authoring.
12
+ *
13
+ * Add this plugin to the same Vite config that hosts Hono or HonoX. The
14
+ * project's ordinary `vite` development command is then sufficient; no
15
+ * separate `hono-decks compile --watch` process is required.
16
+ */
17
+ declare function honoDecks(options?: HonoDecksViteOptions): Plugin;
18
+
19
+ export { type HonoDecksViteOptions, honoDecks };