An esbuild plugin that clears a specified directory before each build. Version 1.0.0 is current, no known release cadence. It is a simple utility plugin that removes all files in the given directory path. Differentiates by being lightweight and dependency-free, unlike broader cleanup tools like rimraf or del integrated into build systems.
npm install esbuild-plugin-clearNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: importing the clear plugin and passing the directory to clear before building.
Double-check the directory path before running the build.
Ensure the target directory exists or handle the error gracefully.
Run 'npm install --save-dev esbuild-plugin-clear' and ensure node_modules contains it.
No dependency data recorded yet.