Skip to content

combineExternal

Puts Obsidian’s modules and the Node builtins beside whatever the consumer’s own external option names.

Import:

import { combineExternal } from '@mnaoumov/obsidian-dev-toolkit/bundlers/rollup-compatible';

Signature:

function combineExternal(external: ExternalLike | undefined): CombinedExternalFunction

Parameters:

Parameter Type Description
external ExternalLike | undefined The consumer’s external option.

Returns: CombinedExternalFunction — A function form of external that keeps both.


Links to this page: