3 ms·
I really don't get a sense of what snowpack exactly does from their website but I found this blog post useful: https://blog.logrocket.com/snowpack-vs-webpack/ h
by flanbiscuit 6y ago
I really don't get a sense of what snowpack exactly does from their website but I found this blog post useful: https://blog.logrocket.com/snowpack-vs-webpack/ https://blog.logrocket.com/snowpack-vs-webpack/
- gavinray 6y agoWebpack/Parcel: Save file changes, app bundle gets regenerated to hot-reload, this takes a bit of time. Snowpack: Run a module build script one time (or again when adding new NPM libraries) on project to generate some assets, but no re-bundling time between changes.
- mekster 6y ago> takes a bit of time. Parcel's incremental build is < 100ms, so I'm not sure how SnowPack feels any better for me.
- _bxg1 6y agoFrom what I can tell it's a wholesale replacement for Webpack + Babel + whichever other loaders you're using. If you're not from the JS ecosystem and that description doesn't make sense to you, I can see why it might be unclear.
- archgoon 6y agoNot quite; it's intended only to replace webpack for development. Snowpack explicitly recommends you continue using bundlers for production. "Snowpack treats bundling as a final, production-only build optimization. By bundling as the final step, you avoid mixing build logic and bundle logic in the same huge configuration file. Instead, your bundler gets already-built files and can focus solely on what it does best: bundling."