KC's Workspace
    Preparing search index...
    interface DepsConfig {
        alwaysBundle?: Arrayable<string | RegExp> | NoExternalFn;
        dts?: Pick<DepsConfig, "alwaysBundle" | "neverBundle">;
        neverBundle?:
            | string
            | RegExp
            | (string | RegExp)[]
            | ExternalOptionFunction;
        onlyAllowBundle?: false | Arrayable<string | RegExp>;
        onlyBundle?: false | Arrayable<string | RegExp>;
        skipNodeModulesBundle?: boolean;
    }
    Index
    alwaysBundle?: Arrayable<string | RegExp> | NoExternalFn

    Force dependencies to be bundled, even if they are in dependencies, peerDependencies, or optionalDependencies.

    dts?: Pick<DepsConfig, "alwaysBundle" | "neverBundle">

    Override dependency bundling options for declaration file generation.

    neverBundle?: string | RegExp | (string | RegExp)[] | ExternalOptionFunction

    Mark dependencies as external (not bundled). Accepts strings, regular expressions, or Rolldown's ExternalOption.

    onlyAllowBundle?: false | Arrayable<string | RegExp>

    Use onlyBundle instead.

    onlyBundle?: false | Arrayable<string | RegExp>

    Whitelist of dependencies allowed to be bundled from node_modules. Throws an error if any unlisted dependency is bundled.

    • undefined (default): Show warnings for bundled dependencies.
    • false: Suppress all warnings about bundled dependencies.

    Note: Be sure to include all required sub-dependencies as well.

    skipNodeModulesBundle?: boolean

    Skip bundling all node_modules dependencies.

    Note: This option cannot be used together with alwaysBundle.

    false