Choose a bundler for snowpack
Snowpack is basically a node server that runs the development server in a most excellent way. It collects dependencies which it pushes to the client using ecma modules, the modern way. To be able to develop using it, you need a 2016-ish or later browser, which we all use. For legacy browsers to even function, you need to still bundle. But the bundle step is recommended for production anyway, there are 2 obvious plugins, which are both pretty much automatic: webpack and rollup. I have experience with both and tried rollup, which is much simpler to use than webpack with snowpack and liked it.
The plugins can be found here and one should be applied before going live.
https://www.snowpack.dev/guides/optimize-and-bundle#option-2%3A-optimize-plugins