Skip to content

DasRed/esbuild-plugin-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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: '.'}),
    ]
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published