obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
20 lines (19 loc) • 792 B
text/typescript
/**
* @packageDocumentation
*
* This module provides utilities for managing dependencies during the esbuild process.
* It includes functions to determine which dependencies should be skipped and which
* should be bundled, as well as an esbuild plugin for extracting dependencies to bundle.
*/
/**
* Determines which dependencies should be bundled by esbuild.
*
* @returns A {@link Promise} that resolves to an array of dependency names to bundle.
*/
export declare function getDependenciesToBundle(): Promise<string[]>;
/**
* Retrieves the list of dependencies that should be skipped during the bundling process.
*
* @returns A {@link Promise} that resolves to a {@link Set} of dependency names to skip.
*/
export declare function getDependenciesToSkip(): Promise<Set<string>>;