JSPM

  • Created
  • Published
  • Downloads 1226
  • Score
    100M100P100Q121224F
  • License MIT

Pipe transformation plugin for esbuild.

Package Exports

  • @chialab/esbuild-plugin-transform
  • @chialab/esbuild-plugin-transform/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chialab/esbuild-plugin-transform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.