Add HTTPS/HTTP2 server (#422) 3266d9b
Snowpack now supports the snowpack dev --secure
flag, which will run your dev server via HTTP2. This is much faster than HTTP/1.1 for unbundled applications like Snowpack's dev app.
HTTP/2 is powered by HTTPS, which requires a bit of additional setup for your dev environment to work properly. On your first run of Snowpack with the --secure
flag, you'll be shown instructions to generate credentials to use for HTTPS.
Small Fixes & Improvements
- Add support for devOptions.hmr (#427) c489384
- Fix treeshaking bug 72933b3
- Fix issue with babel macro matching 78a27ff
- Fix node polyfill plugin bug a29339a
- Improve node polyfill error handling 171ae8e
- Fix readline capture issue with simple stdin listener 546c94e
- Fix HMR support for CSS modules (#438) 4ebb6c8
- Fix install scanner to scan html files for JS deps as well 1727f88
- Fix react-table esm workaround 6742556
- Fix .svx usage 07b0fb1