Mocky Balboa API Reference
    Preparing search index...

    Interface MockyBalboaVitePluginOptions

    Options for the Mocky Balboa Vite plugin.

    interface MockyBalboaVitePluginOptions {
        disableViteServerConfigOverride?: boolean;
        enabled?: boolean;
        serverOptions?: ServerOptions;
    }
    Index

    Properties

    disableViteServerConfigOverride?: boolean

    Allows you disable overriding the Vite server configuration. Useful if you are needing to go against the behaviour of running as middleware in build mode, and running as a standalone server in dev mode.

    false
    
    enabled?: boolean

    Controls whether the plugin is enabled.

    true
    
    serverOptions?: ServerOptions

    WebSocket server options