Open hamncheez opened 3 years ago
When used with date-fns 2.0, the entire package is imported and prevents tree shaking. Can we allow tree shaking within date-fns-upgrade and include date-fns as a peer dependency instead of direct dependency?
I opened a PR to solve this issue: https://github.com/date-fns/date-fns-upgrade/pull/20
When used with date-fns 2.0, the entire package is imported and prevents tree shaking. Can we allow tree shaking within date-fns-upgrade and include date-fns as a peer dependency instead of direct dependency?