1.0.0-alpha.2 • Published 11 months ago

esbuild-plugin-package-manifest v1.0.0-alpha.2

Weekly downloads
-
License
BSD-3-Clause
Repository
gitlab
Last release
11 months ago

ESBuild Package Manifest Plugin

NPM version

An esbuild plugin to generate a npm package manifest. Please read this article to better understand the difference between a project manifest and a package manifest, and the benefits of using a tool to generate package manifests.

Installation

The recommended way to install the plugin is from its npm package:

npm install esbuild-plugin-package-manifest

Usage

import {createPackageManifestPlugin} from 'esbuild-plugin-package-manifest';
import * as ESbuild from 'esbuild'

ESbuild.build({
    entryPoints: [
        'index.ts'
    ],
    outfile: 'index.mjs',
    plugins: [
        createPackageManifestPlugin(
            {
                name: 'my-package-name',
                version: '1.0.0'
            },
            './package.json'
        ),
    ]
});
1.0.0-alpha.2

11 months ago

1.0.0-alpha.1

11 months ago

1.0.0-alpha.0

11 months ago