rollup-plugin-esbuild

  • Version 6.1.1
  • Published
  • 26.3 kB
  • 4 dependencies
  • MIT license

Install

npm i rollup-plugin-esbuild
yarn add rollup-plugin-esbuild
pnpm add rollup-plugin-esbuild

Overview

**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**

Index

Functions

Type Aliases

Functions

function _default

_default: ({
include,
exclude,
sourceMap,
optimizeDeps,
tsconfig,
loaders: _loaders,
...esbuildOptions
}?: Options) => Plugin;

    function minify

    minify: ({ sourceMap, ...options }?: Options$1) => Plugin;

      Type Aliases

      type Options

      type Options = Omit<TransformOptions, 'sourcemap' | 'loader'> & {
      include?: FilterPattern;
      exclude?: FilterPattern;
      sourceMap?: boolean;
      optimizeDeps?: MarkOptional<OptimizeDepsOptions, 'cwd' | 'sourceMap'>;
      /**
      * Use this tsconfig file instead
      * Disable it by setting to `false`
      */
      tsconfig?: string | false;
      /**
      * Map extension to esbuild loader
      * Note that each entry (the extension) needs to start with a dot
      */
      loaders?: {
      [ext: string]: Loader | false;
      };
      };

        Package Files (1)

        Dependencies (4)

        Dev Dependencies (11)

        Peer Dependencies (2)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rollup-plugin-esbuild.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rollup-plugin-esbuild)
        • HTML
          <a href="https://www.jsdocs.io/package/rollup-plugin-esbuild"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>