13 lines
449 B
TypeScript
13 lines
449 B
TypeScript
import type { Plugin, UserConfig } from 'vite';
|
|
export type VitePluginConfig = {
|
|
/**
|
|
* If set to `false`, the plugin will not add the
|
|
* HTTP response headers required for
|
|
* [cross-origin isolation](https://sqlocal.dev/guide/setup#cross-origin-isolation)
|
|
* to the Vite development server.
|
|
* @default true
|
|
*/
|
|
coi?: boolean;
|
|
};
|
|
export default function sqlocalPlugin(config?: VitePluginConfig): Plugin<UserConfig>;
|