Closed suienzan closed 3 years ago
Please see #25
OK there was a bug in date-fns, it has been fixed there https://github.com/date-fns/date-fns/pull/2339 - I guess this issue can be closed now.
Upgraded date-fns
to version 2.21.1
. Tree-shaking works as expected now.
Init a blank vue project. Then import
vue3-datepicker
like this:Build project will pack
date-fns
without tree shaking.