Modernize build target and eliminating tslib.
Author: paalesCreated Feb 3, 2023Updated Feb 3, 2023
Is your feature request related to a problem? Please describe.
Currently the esm build includes things like import { __rest } from 'tslib';.
Describe the solution you'd like
Can we target a more modern environment so it can just use the ...rest operator? This is good for the bundle size.
Describe alternatives you've considered None
Additional context None
Source: Popmotion/popmotion