Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)


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!




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: