UNPKG

obsidian-dev-utils

Version:

This is the collection of useful functions that you can use for your Obsidian plugin development

14 lines (13 loc) 605 B
/** * @packageDocumentation * * This module defines an esbuild plugin that allows for custom esbuild options to be used during the build process. */ import type { BuildOptions, Plugin } from 'esbuild'; /** * A plugin that allows for custom esbuild options to be used during the build process. * * @param customizeEsbuildOptions - A function that customizes the esbuild options. * @returns A plugin that allows for custom esbuild options to be used during the build process. */ export declare function customEsbuildOptionsPlugin(customizeEsbuildOptions?: (options: BuildOptions) => void): Plugin;