Skip to content

customEsbuildOptionsPlugin

A plugin that allows for custom esbuild options to be used during the build process.

Import:

import { customEsbuildOptionsPlugin } from '@mnaoumov/typescript-dev-toolkit/bundlers/esbuild-impl/custom-esbuild-options-plugin';

Signature:

function customEsbuildOptionsPlugin(customizeEsbuildOptions: ((options: BuildOptions) => void) | undefined): Plugin

Parameters:

Parameter Type Description
customizeEsbuildOptions ((options: BuildOptions) => void) | undefined A function that customizes the esbuild options.

Returns: Plugin — A plugin that allows for custom esbuild options to be used during the build process.