obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
13 lines (12 loc) • 405 B
text/typescript
/**
* @packageDocumentation
*
* This module defines a custom esbuild plugin that fixes the `require` statement for ESM modules.
*/
import type { Plugin } from 'esbuild';
/**
* Creates an esbuild plugin that fixes the `require` statement for ESM modules.
*
* @returns An esbuild `Plugin` object that fixes the `require` statement for ESM modules.
*/
export declare function fixEsmPlugin(): Plugin;