Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
janaagaard
on Feb 17, 2023
|
parent
|
context
|
favorite
| on:
Modern SPAs without bundlers, CDNs, or Node.js
What’s the benefit of the custom download-package script over npm install? Why would you want to roll a custom solution here?
jslakro
on Feb 17, 2023
|
next
[–]
Didn't get the idea as well. The end part of the post is like a seed for a future custom package manager or something
giaour
on Feb 17, 2023
|
prev
|
next
[–]
NPM will automatically install dependencies and run post-install scripts. Those are normally a convenience, but I can understand why someone would want to skip that.
quectophoton
on Feb 17, 2023
|
parent
|
next
[–]
Still. I'm all for avoiding npm when I can get away with it, but for TFA's case I would have just used the `--ignore-scripts` flag.
rwalle
on Feb 17, 2023
|
prev
[–]
As the project becomes more than a simple example and requires more third-party libraries, this is just unmaintainable.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: