Skip to content

DasRed/esbuild-plugin-clear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

esbuild-plugin-clear

Clears the given directory.

Installation

npm i --save-dev esbuild-plugin-clear

Usage

import esbuild from 'esbuild';
import clear from 'esbuild-plugin-clear';

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published