veltman / flubber

Tools for smoother shape animations.
MIT License
6.61k stars 167 forks source link

Generate a slim bundle for browsers #105

Closed veltman closed 4 years ago

veltman commented 4 years ago

Update Rollup versions and config to produce two different UMD bundles:

build/flubber.min.js is the full API and default entry point. build/flubber.slim.min.js excludes interpolateAll(), combine(), and separate() methods is meant for browser usage only. This avoids bundling topojson-client and svg-path-properties, reducing the minified size by about 70%.