devserver.d.ts 658 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
import { Config as Args } from '../config/argv';
import { ServerHooks } from '../lib/Bundler';
export declare const devServerConfig: (hooks: ServerHooks, args: Args) => {
    publicPath: string;
    compress: boolean;
    logLevel: string;
    clientLogLevel: string;
    contentBase: string[];
    watchContentBase: boolean;
    hot: boolean;
    quiet: boolean;
    open: boolean;
    watchOptions: {
        ignored: any;
    };
    overlay: boolean;
    host: string;
    port: number;
    historyApiFallback: {
        disableDotRule: boolean;
    };
    disableHostCheck: boolean;
    before(app: any, server: any): void;
    after(app: any): void;
};