esbuild-plugin-package-manifest (original) (raw)
1.0.0-alpha.2 • Public • Published 10 months ago
ESBuild Package Manifest Plugin
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' ), ] });
Package Sidebar
Install
npm i esbuild-plugin-package-manifest
Weekly Downloads
Total Files
5
Last publish
10 months ago