Ship cleaner packages (without the ./dist or ./src folder) by publishing a subfolder to NPM

· Original Content – Bram.us · Sept. 20, 2026, 5:47 p.m.
Summary
This blog post discusses a method for publishing cleaner packages to NPM by avoiding the inclusion of unnecessary build output paths in the public API. The author offers practical insights into streamlining the npm publish process for better package management.
AUTHOR