Version 3.0 of the aforementioned Snowpack got released, and it’s quite exciting I must say!
- Pre-bundled streaming imports – Import any npm package, on-demand.
- Integrated build optimizations – Built-in bundling, preloading, minification, and more.
- JavaScript API – Integrate with Snowpack’s brand new native JS API.
- Node.js Runtime API – Import your Snowpack-built files directly into Node.js.
The streaming imports will most likely have the biggest impact on us all:
Streaming imports make it possible to import any package directly into your project, pre-built and pre-bundled for immediate use. It’s the power of the entire JavaScript ecosystem, at your fingertips.
With streaming imports we can now simply write import statements, and Snowpack will fetch the package for us from Skypack — No npm install
needed!
And since it uses esbuild
under the hood it’s fast. Blazing fast.