fixEsmPlugin
Creates an esbuild plugin that fixes the require statement for ESM modules.
Import:
import { fixEsmPlugin } from '@mnaoumov/typescript-dev-toolkit/bundlers/esbuild-impl/fix-esm-plugin';Signature:
function fixEsmPlugin(): PluginReturns: Plugin — An esbuild Plugin object that fixes the require statement for ESM modules.