esbuild-copy-plugin

1.0.0 • Public • Published

esbuild-plugin-copy

copy some files from one destination to another

Installation

npm i --save-dev esbuild-copy-plugin

Usage

import esbuild from 'esbuild';
import copy from 'esbuild-copy-plugin';

esbuild.build({
    entryPoints: ['./src/index.js'],
    bundle:      true,
    outfile:     './dist/index.js',
    plugins:     [
        copy({from: './public', to: '.'}),
    ]
});

Readme

Keywords

Package Sidebar

Install

npm i esbuild-copy-plugin

Weekly Downloads

141

Version

1.0.0

License

MIT

Unpacked Size

1.41 kB

Total Files

3

Last publish

Collaborators

  • dasred