Hacker News new | ask | show | jobs
by flankstaek 2367 days ago
Cool project.

  "Also...Zwitterion is NOT a bundler. It eschews bundling for a simpler experience."
I get that, run locally, it's not bundling, but how is it not a bundler when running static builds for production?
1 comments

It seems like for production it just compiles the stuff (the things that need it) and puts everything into a /dist folder but it does not indeed bundle it. The author advises relying on HTTP2 to serve the files.
Exactly. Zwitterion relies on ES modules in production and development, so bundling is not strictly necessary. See the README for information on performance implications.