0.5.1 • Published 5 years ago

@intrnl/rollup-plugin-esbuild v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

rollup-plugin-esbuild

Transpile your source code with ESBuild, doing a two pass to prevent helper duplicates in your code.

Usage

npm install --save-dev @intrnl/rollup-plugin-esbuild
# pnpm install --save-dev @intrnl/rollup-plugin-esbuild
# yarn add --dev @intrnl/rollup-plugin-esbuild
// rollup.config.js
import { esbuild as esbuildPlugin } from '@intrnl/rollup-plugin-esbuild';

export default {
  input: 'src/index.js',
  plugins: [
    esbuildPlugin(),
  ],
};

Options

  • include?: string | RegExp | (string | RegExp)[] | null
    Files to include, defaults to matching all files
  • exclude?: string | RegExp | (string | RegExp)[] | null
    Files to exclude
  • loaders?: { [loader: Loader ]: string[] }
    Loaders to use, files with extension that does not match any loaders will be ignored
  • transformOptions?: TransformOptions
    ESBuild transform options
0.5.1

5 years ago

0.5.0

5 years ago

0.3.2

5 years ago

0.4.0

5 years ago

0.4.3

5 years ago

0.3.4

5 years ago

0.4.2

5 years ago

0.3.3

5 years ago

0.3.0

5 years ago

0.3.1

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago