Skip to content

getDependenciesToBundle

Determines which dependencies should be bundled by esbuild.

Import:

import { getDependenciesToBundle } from 'obsidian-dev-utils/script-utils/bundlers/esbuild-impl/dependency';

Signature:

function getDependenciesToBundle(): Promise<string[]>

Returns: Promise<string[]> — A Promise that resolves to an array of dependency names to bundle.