News for hackers. Stuff that matters.
Re:Snowpack 2.0 by k__ on Wednesday May 27, 2020 @08:15PM (#23331840)
For everyone who was as confused as me:

It's basically a tool that allows you to develop without bundling, but it still bundles for production via Parcel.

So it's not a Webpack/Parcel/Rollup killer.

Re:Snowpack 2.0 by jnwr on Thursday May 28, 2020 @10:10AM (#23337414)
FYI, Snowpack uses rollup for its production bundling
Re:Snowpack 2.0 by keb_ on Saturday May 30, 2020 @09:03AM (#23360873)
Can you elaborate on that or provide a link to where you learned this? According to there site, they only maintain two official plugins for production builds (Webpack & Parcel). I'm coming from using Rollup, so I would prefer to use Rollup instead.

https://www.snowpack.dev/#snowpack-build

Re:Snowpack 2.0 by k__ on Thursday May 28, 2020 @11:28AM (#23338435)
Ah okay.
Re:Snowpack 2.0 by mekster on Wednesday May 27, 2020 @09:49PM (#23332533)
And by that, I take it that it requires ESM module support from the browser, so it really is for development purpose and cannot just be kept used in production that requires wider browser support.
Re:Snowpack 2.0 by Yaggo on Thursday May 28, 2020 @02:25AM (#23334083)
It makes production builds for legacy browsers (such as IE11). Only during development is modern browser required.

https://www.snowpack.dev/#legacy-browser-support

Re:Snowpack 2.0 by vanderZwan on Thursday May 28, 2020 @06:28AM (#23335664)
Maybe I'm overlooking something, but that sounds like it's not possible to both debug legacy browsers and reap the benefits of this approach at the same time, defeating the point.

(I presume that people supporting legacy browsers generally have to deal more with their website breaking on those browsers than with things breaking on modern ones)