Esbuild Plugin Transform • Pipe transformation plugin for esbuild.
Install
$ npm i @chialab/esbuild-plugin-transform -D
$ yarn add @chialab/esbuild-plugin-transform -D
Usage
import esbuild from 'esbuild';
import transform from '@chialab/esbuild-plugin-transform';
await esbuild.build({
plugins: [
transform([
// plugins
]),
],
});
Create a plugin
First of all, install Esbuild Plugin Transform:
npm i @chialab/esbuild-plugin-transform
Then, use module helpers to retrieve contents and mappings:
//
License
Esbuild Plugin Transform is released under the MIT license.