@olton/esbuild-plugin-copy
v0.3.0
Published
A esbuild plugin to copy files after build
Downloads
2
Maintainers
Readme
esbuild-plugin-copy
Esbuild plugin to copy files after build
Installation
npm i -D @olton/esbuild-plugin-copy
Usage
import { build } from 'esbuild';
import copy from "@olton/esbuild-plugin-copy"
await build({
entryPoints: ...,
bundle: true,
outfile: ...,
plugins: [copy({
files: ['assets/**/*.jpg'],
dest: 'dist/',
skip: ['assets/no-copy.jpg'],
})],
});
License
This software is released under the MIT License.
Copyright (c) 2024 by Serhii Pimenov