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.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package uses default export and is ESM-first; require() may work only in some environments.
Symbol is not named; use default import or alias default.
The plugin function takes a string argument (directory path), not an options object.
Shows basic usage: importing the clear plugin and passing the directory to clear before building.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.