@chialab/esbuild-plugin-transform
TypeScript icon, indicating that this package has built-in type declarations

0.12.39 • Public • Published

Esbuild Plugin Transform • Pipe transformation plugin for esbuild.

NPM


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.

/@chialab/esbuild-plugin-transform/

    Package Sidebar

    Install

    npm i @chialab/esbuild-plugin-transform

    Weekly Downloads

    1,031

    Version

    0.12.39

    License

    MIT

    Unpacked Size

    16.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • chialab-admin
    • chialab-developers