domco
Version:
Minimal Full-Stack JavaScript
14 lines • 481 B
TypeScript
import type { Adapter } from "../../types/index.js";
import type { Plugin } from "vite";
/**
* Creates a virtual module for the adapter entry point to make
* the app usable in the target environment.
*
* The virtual module is then used as an entry point in the `vite.config`
* if there is an adapter entry provided.
*
* @param adapter
* @returns Vite plugin
*/
export declare const adapterPlugin: (adapter?: Adapter) => Promise<Plugin>;
//# sourceMappingURL=index.d.ts.map