3 ms·
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
by cprecioso 6y ago
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`.
- corytheboyd 6y agoD’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 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.