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) 533 B
/** * @packageDocumentation * * This module defines an esbuild plugin that changes the extension of JavaScript files after the build process. */ import type { Plugin } from 'esbuild'; /** * Creates an esbuild plugin that changes the extension of JavaScript files after the build process. * * @param extension - The extension to change the files to. * @returns An esbuild `Plugin` object that handles the renaming and modification of output files. */ export declare function changeExtensionPlugin(extension: string): Plugin;