News for hackers. Stuff that matters.
Re:A whole website in a single JavaScript file by mushyhammer on Thursday April 07, 2022 @01:58AM (#30941087)
Sorry Guillermo but you’re not being truthful here. “$ now” worked on any node server, not just static content, it would just run “npm start”. Now v2+ instead requires a handler-based approach.
Re:A whole website in a single JavaScript file by Rauchg on Friday April 08, 2022 @01:32PM (#30960090)
I think I misunderstood his comment. I focused on the `index.html` example, but I think he was talking about servers (thanks for pointing that out). That said, the transition was good for servers too depending on what you were using. For example, `package.json` with Next.js was completely seamless!