Skip to content

Fix broken date-fns console demo for v3.0.0 and later - #230

Open
cornzz wants to merge 1 commit into
date-fns:mainfrom
cornzz:main
Open

Fix broken date-fns console demo for v3.0.0 and later#230
cornzz wants to merge 1 commit into
date-fns:mainfrom
cornzz:main

Conversation

@cornzz

@cornzz cornzz commented Oct 22, 2025

Copy link
Copy Markdown

@kossnocorp

Closes #215, #222, date-fns/date-fns#3405, date-fns/date-fns#4085

The developer console demo of date-fns is currently broken for all versions v3 or higher.
This should be a sustainable solution for the bug, supporting all versions of date-fns. It reads the module field of the versions package.json to get the correct index file.

See also PRs #225, #229, both incomplete solutions to this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot load the library in console

1 participant