interface NonStandardEntryPoints {
    browser?: string | Partial<Record<string, string | false>>;
    esnext?:
        | string
        | {
            browser?: string;
            main?: string;
            [moduleName: string]: undefined
            | string;
        };
    module?: string;
    sideEffects?: boolean
    | string[];
}

Properties

browser?: string | Partial<Record<string, string | false>>

A hint to JavaScript bundlers or component tools when packaging modules for client side use.

esnext?:
    | string
    | {
        browser?: string;
        main?: string;
        [moduleName: string]: undefined
        | string;
    }

A module ID with untranspiled code that is the primary entry point to the program.

module?: string

An ECMAScript module ID that is the primary entry point to the program.

sideEffects?: boolean | string[]

Denote which files in your project are "pure" and therefore safe for Webpack to prune if unused.

Read more.