Skip to content

@FredKSchott FredKSchott released this Jan 7, 2020 · 109 commits to master since this release

Major Change: Rename!

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

Major Change: Tree-shaking!

Slice

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!

Assets 2
You can’t perform that action at this time.