Interface PluginOptions

interface PluginOptions {
    custom?: {
        ws?: string;
        [key: string]: string;
    };
    name?: string;
    serve?: ((server, options) => NextHandleFunction);
    ssr?: string;
    [key: string]: any;
}

Hierarchy (view full)

Indexable

[key: string]: any

Properties

custom?: {
    ws?: string;
    [key: string]: string;
}

way to custom entry points used for build production chunk

  • for develop custom implementation must be used

Type declaration

  • [key: string]: string
  • Optional ws?: string
name?: string
serve?: ((server, options) => NextHandleFunction)

Type declaration

    • (server, options): NextHandleFunction
    • Parameters

      Returns NextHandleFunction

ssr?: string

Generated using TypeDoc