UNPKG

vite-plugin-cogs-sdk

Version:

A Vite plugin to easily setup your project to be a COGS plugin or custom content

16 lines (13 loc) 473 B
import { Plugin } from 'vite'; interface CogsPluginOptions { /** * Set a custom path to the COGS plugin manifest file */ manifestFilePath?: string; /** * Set the `true` to not expose the dev server on all networks and only allow connections over `localhost` */ noServerExpose?: boolean; } declare const cogsSdkPlugin: (options?: CogsPluginOptions) => Plugin; export { type CogsPluginOptions, cogsSdkPlugin, cogsSdkPlugin as default };