News for hackers. Stuff that matters.
Re:WMR – Tiny all-in-one development tool for modern web apps by cprecioso on Thursday December 03, 2020 @11:36AM (#25290704)
Rollup doesn’t import automatically, Parcel does.

`npx`’s specific use case, though, is specifically to run scripts that you haven’t installed - else you’d use `yarn/npm run whatever`.

Re:WMR – Tiny all-in-one development tool for modern web apps by corytheboyd on Thursday December 03, 2020 @11:47AM (#25290892)
D’oh you’re completely right about rollup vs parcel. I always get them confused because I trialed them simultaneously :p

Huh, I wasn’t aware of that being the primary use case of npx. I assumed the primary use case was to be sugar on top of ‘./node_modules/.bin/*’, which the documentation seems to lead with too (https://github.com/npm/npx)

They immediately call out auto-installation as a feature after that, but apparently there is a ‘—no-install’ flag you can use too. I guess I would have expected this to be opt-in through ‘—auto-install’ or something is all.