date-fns@3.6.0
failures in typescript
and parcel
builds and runtime
#9676
Labels
date-fns@3.6.0
failures in typescript
and parcel
builds and runtime
#9676
馃悰 bug report
After upgrading
date-fns
to version3.6.0
the parcel build started failing, not finding the exported functions. Apart from that the runtime function calls in the dev server fails with provided errors documented in the reproduction repository.This seems to be a problem for
parcel
builds in particular, a related issue indate-fns
can be found here: date-fns/date-fns#3744馃 Expected Behavior
Build should be successful and runtime function calls should work as described in the
date-fns
repository.馃槸 Current Behavior
Build fails unless specifying the alias function name. Runtime the
format
function throws an error.Build error:
Runtime error:
馃敠 Context
This issue prevents us from upgrading
date-fns
to the latest supported major version.馃捇 Code Sample
Reproduction repository: https://github.com/Milkywire/date-fns-parcel-reproduction
馃實 Your Environment
The text was updated successfully, but these errors were encountered: