Natural Preference for Minification

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

    0.17.2 • 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.

    Install

    npm i @chialab/esbuild-plugin-commonjs

    DownloadsWeekly Downloads

    287

    Version

    0.17.2

    License

    MIT

    Unpacked Size

    5.32 kB

    Total Files

    5

    Last publish

    Collaborators

    • chialab-admin
    • chialab-developers