@omnia/tooling-composers
Version:
Provide tooling to work with manifest things.
30 lines (29 loc) • 696 B
TypeScript
/// <reference types="node" />
import { ServerOptions } from 'https';
import { UserConfig } from 'vite';
export interface DevelopmentHostingInfo {
/**
* Specify server port. Default is 44330
*/
port?: number;
/**
* Default is false.
*/
hmr?: boolean;
/**
* Default is true.
*/
disableAutoReload?: boolean;
/**
* Enable TLS + HTTP/2.
* Note: this downgrades to TLS only when the proxy option is also used.
*/
https?: boolean | ServerOptions;
/**
* User configure.
*/
userConfig?: UserConfig;
}
export interface IDevelopmentHostingEnvironment {
use: (hostingInfo: DevelopmentHostingInfo) => void;
}