GoThread
appearance log in
home all local communities
c/javascript@programming.dev

JavaScript

log in to join
follow from another instance

Not on this instance? Enter your own instance's domain to go straight to following c/javascript@programming.dev there.

hashtags

#javascript
0
c/javascript@programming.dev · codeinabox@programming.dev · 20 Sep 2026 19:49

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

#javascript
Bram.us Ship cleaner packages (without the ./dist or ./src folder) by publishing a subfolder to NPM One detail that has always bugged me about publishing a package to NPM is how build output paths like dist/ can leak into the public API.Turns out, npm publish can do it, but to make it work seamlessly in a real-world project, you need a few extra pieces in place. Let me walk you through how it works. www.bram.us

check post at origin

0 comments

0 comments

log in to comment.

about

members
2868
posts
50
created
12 Jun 2023
active / week
4
active / month
4

moderators

  • @erlingur@programming.dev
  • @Ategon@programming.dev
  • @nick@programming.dev

rss · modlog

GoThread · self-hosted threadiverse · instances · modlog · rss · appearance · AGPL-3.0