npm snowpack 1.0.1
V1 RELEASE! @pika/web is now Snowpack

latest releases: 3.8.8, 3.8.7, 3.8.7-rc.0...
4 years ago

Major Change: Rename!

Screen Shot 2020-01-06 at 8 10 49 PM

Major Change: Tree-shaking!


A HUGE thanks to @DangoDev for this feature. When Snowpack is run with the --optimize flag it is able to analyze your application source code to detect exactly which dependency exports are used in your application. Anything unused is removed from the optimized dependency installation.

Major Change: --include (Automatic import detection)

Another great contribution from @DangoDev. Tree-shaking wouldn't have been possible without the ability to detect your application imports automatically. Even without the tree-shaking component, being able to automatically detect which dependencies are needed gets rid of a ton of configuration in old versions.

Major Change: A new docs site!

Screen Shot 2020-01-06 at 8 17 40 PM

Minor Changes

  • Added UC Browser to default "browserlist" ignore string. UC Browser doesn't support ESM (yet) so this may result in a better-optimized default env target for --optimize.

I'll be promoting this more tomorrow (on Twitter, etc) and cleaning up the docs site tonight, but I wanted to get the actual release out there asap for anyone who wanted to try it out. Thanks for all your hard work everyone!

Don't miss a new snowpack release

NewReleases is sending notifications on new releases.