An esbuild plugin that automatically marks all dependencies from package.json as external during bundling. Version 1.0.0 is the initial stable release with no known release cadence. Unlike manual externals configuration, it scans dependencies, devDependencies, peerDependencies, and optionalDependencies, saving developers from maintaining a separate list. Ships TypeScript types. Lightweight with no runtime dependencies.
npm install esbuild-plugin-external-packageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Builds a bundle where all package.json dependencies are marked external, leaving them as imports in the output.
If you need externals but also metafile analysis, combine with other plugins.
Update plugin configuration if available, or filter dependencies manually.
Use import or dynamic import() instead of require().
No dependency data recorded yet.