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

0.18.0 • Public • Published

Esbuild Plugin Commonjs • A commonjs to esm converter for esbuild.

NPM


Install

npm i @chialab/esbuild-plugin-commonjs -D
yarn add @chialab/esbuild-plugin-commonjs -D

Usage

import esbuild from 'esbuild';
import commonjsPlugin from '@chialab/esbuild-plugin-commonjs';

await esbuild.build({
    plugins: [
        commonjsPlugin(),
    ],
});

License

Esbuild Plugin Commonjs is released under the MIT license.

Package Sidebar

Install

npm i @chialab/esbuild-plugin-commonjs

Weekly Downloads

2,101

Version

0.18.0

License

MIT

Unpacked Size

5.21 kB

Total Files

5

Last publish

Collaborators

  • chialab-admin
  • chialab-developers