@hono-filebased-route/vite-plugin 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.
@@ -0,0 +1 @@
1
+ $ bun run build.ts
package/build.ts ADDED
@@ -0,0 +1,9 @@
1
+ import dts from 'bun-plugin-dts'
2
+
3
+ await Bun.build({
4
+ minify: true,
5
+ target: 'node',
6
+ outdir: './dist',
7
+ plugins: [dts()],
8
+ entrypoints: ['./index.ts'],
9
+ })
@@ -0,0 +1,17 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ import { Plugin as Plugin$1 } from 'vite';
4
+
5
+ export interface Options {
6
+ routesDir: string;
7
+ virtualRoute: boolean;
8
+ outputFile: string;
9
+ callback: (router: string) => void;
10
+ }
11
+ declare const usePlugin: (options?: Partial<Options>) => Plugin$1;
12
+
13
+ export {
14
+ usePlugin as default,
15
+ };
16
+
17
+ export {};