Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sxzz/esbuild-plugin-transform
Pipe transformation plugins for esbuild.
https://github.com/sxzz/esbuild-plugin-transform
Last synced: about 2 months ago
JSON representation
Pipe transformation plugins for esbuild.
- Host: GitHub
- URL: https://github.com/sxzz/esbuild-plugin-transform
- Owner: sxzz
- License: mit
- Created: 2022-06-25T21:17:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T20:02:42.000Z (about 2 months ago)
- Last Synced: 2024-10-29T22:40:22.688Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 413 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# esbuild-plugin-transform [![npm](https://img.shields.io/npm/v/esbuild-plugin-transform.svg)](https://npmjs.com/package/esbuild-plugin-transform)
[![Unit Test](https://github.com/sxzz/esbuild-plugin-transform/actions/workflows/unit-test.yml/badge.svg)](https://github.com/sxzz/esbuild-plugin-transform/actions/workflows/unit-test.yml)
Pipe transformation plugins for [esbuild](https://esbuild.github.io/).
Compatible with existing esbuild plugins.Related issue: https://github.com/evanw/esbuild/issues/1902
## Install
```bash
npm i esbuild-plugin-transform
```## Usage
```ts
import { build } from 'esbuild'
import { Transform } from 'esbuild-plugin-transform'const plugins = [
// ...
]
build({
// ...
plugins: [
Transform({
plugins,
}),
],
})
```## Sponsors
## Credits
Thanks to [esbuild-plugin-pipe](https://github.com/nativew/esbuild-plugin-pipe) for the inspiration.
## License
[MIT](./LICENSE) License © 2022-PRESENT [三咲智子](https://github.com/sxzz)