toastdotdev / toast

The best place to stack your JAM. Toast is a Jamstack framework
153 stars 13 forks source link

[breadbox] Snowpack replacement #1

Closed ChristopherBiscardi closed 3 years ago

ChristopherBiscardi commented 4 years ago

Snowpack has deviated too far away from its original goals of being a third-party npm package esm bundler. It now handles everything from sass to css modules to hot module reloading and every framework under the sun. We only need the third-party esm bundling.

short-term: Continue to use breadbox long-term: move to our own implementation super-long-term: hopefully this code is no longer required in 3-5 years.

Long Term

SWC has spack, which might be good enough to handle this. Until then use Rollup which is proven and effective.

ChristopherBiscardi commented 3 years ago

Snowpack now produces esinstall, which is exactly what we need and is basically slimmed down snowpack v1