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

0.18.1 • Public • Published

esbuild-plugin-metadata • Write entrypoints.json for esbuild builds.

NPM


Install

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

Usage

import esbuild from 'esbuild';
import metadataPlugin from '@chialab/esbuild-plugin-metadata';

await esbuild.build({
    plugins: [
        metadataPlugin({
            entrypoints: {
                metafilePath: 'build/metafile.json',
                manifestPath: 'build/manifest.json',
                entrypointsPath: 'build/entrypoints.json',
            },
        }),
    ],
});

License

esbuild-plugin-metadata is released under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @chialab/esbuild-plugin-metadata

Weekly Downloads

40

Version

0.18.1

License

MIT

Unpacked Size

11.3 kB

Total Files

9

Last publish

Collaborators

  • chialab-admin
  • chialab-developers