@olton/esbuild-plugin-unlink
v0.2.0
Published
A esbuild plugin for unlink files after build
Downloads
34
Maintainers
Readme
esbuild-plugin-unlink
Esbuild plugin for unlink files after build
Installation
npm i -D @olton/esbuild-plugin-unlink
Usage
import { build } from 'esbuild';
import unlink from "@olton/esbuild-plugin-unlink"
await build({
entryPoints: ...,
bundle: true,
outfile: ...,
plugins: [unlink({
files: ['dist/**/*.map'],
skip: ['dist/index.js.map'],
})],
});
License
This software is released under the MIT License.
Copyright (c) 2024 by Serhii Pimenov