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) 382 B
/** * @packageDocumentation * * Svelte wrapper esbuild plugin. */ import type { Plugin } from 'esbuild'; /** * Wraps the esbuild-svelte plugin to ensure that the correct format is used. * * @param isProductionBuild - Whether the build is a production build. * @returns The esbuild plugin. */ export declare function svelteWrapperPlugin(isProductionBuild: boolean): Plugin;