chenglou / react-motion

A spring that solves your animation problems.
MIT License
21.68k stars 1.15k forks source link

Upgrade babel and build esm and cjs bundles #548

Closed TrySound closed 5 years ago

TrySound commented 5 years ago

In this diff I suggest to use bundles instead of transpiled with just babel files. There are a few reasons for them

Size snapshot shows also treeshakability for esm bundles so I can apply more optimisation which will be visible to us.

/cc @nkbt @chenglou

TrySound commented 5 years ago

@nkbt Could you merge, so I could start working on further improvements?

nkbt commented 5 years ago

Sure