Hacker News new | ask | show | jobs
by insin 3620 days ago
Then I didn't understand the complaint, as this does include a dist/ folder in the npm package (which is also what npmcdn uses), so you'd just npm install it as normal :)
1 comments

Oh I see what you mean. I didn't know that NPM added a dist folder when you install it that way.
Yes, when you publish an NPM package it grabs anything not ignored by .npmignore or .gitignore, which can include css, a dist folder, etc., quite useful!