Interface: DepsConfig
Defined in: src/features/deps.ts:30
Properties
alwaysBundle?
ts
optional alwaysBundle?:
| Arrayable<string | RegExp>
| NoExternalFn;Defined in: src/features/deps.ts:39
Force dependencies to be bundled, even if they are in dependencies, peerDependencies, or optionalDependencies.
neverBundle?
ts
optional neverBundle?: string | RegExp | (string | RegExp)[] | ExternalOptionFunction;Defined in: src/features/deps.ts:35
Mark dependencies as external (not bundled). Accepts strings, regular expressions, or Rolldown's ExternalOption.
onlyAllowBundle?
ts
optional onlyAllowBundle?: false | Arrayable<string | RegExp>;Defined in: src/features/deps.ts:53
Deprecated
Use onlyBundle instead.
onlyBundle?
ts
optional onlyBundle?: false | Arrayable<string | RegExp>;Defined in: src/features/deps.ts:49
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?
ts
optional skipNodeModulesBundle?: boolean;Defined in: src/features/deps.ts:61
Skip bundling all node_modules dependencies.
Note: This option cannot be used together with alwaysBundle.
Default
ts
false