Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

49 lines (35 loc) · 1.15 KB

esbuild-plugin-transform npm

Unit Test

Pipe transformation plugins for esbuild. Compatible with existing esbuild plugins.

Related issue: evanw/esbuild#1902

Install

npm i esbuild-plugin-transform

Usage

import { build } from 'esbuild'
import { Transform } from 'esbuild-plugin-transform'

const plugins = [
  // ...
]
build({
  // ...
  plugins: [
    Transform({
      plugins,
    }),
  ],
})

Sponsors

Credits

Thanks to esbuild-plugin-pipe for the inspiration.

License

MIT License © 2022-PRESENT 三咲智子