Skip to content

fix: provide moment-duration-format stub for standalone build - #3

Merged
timurbazhirov merged 1 commit into
mainfrom
chore/enable-strict-mode
Jul 9, 2026
Merged

fix: provide moment-duration-format stub for standalone build#3
timurbazhirov merged 1 commit into
mainfrom
chore/enable-strict-mode

Conversation

@timurbazhirov

Copy link
Copy Markdown
Member

The empty moment-duration-format stub caused moment.duration().format is not a function at runtime, preventing React from rendering the page on GitHub Pages.

This replaces the empty stub with a minimal implementation that extends moment.duration.fn.format().

…e build

The empty stub caused a runtime crash (moment.duration().format is not a function)
which prevented React from rendering the page on GitHub Pages.
@timurbazhirov
timurbazhirov force-pushed the chore/enable-strict-mode branch from 40415cc to f7bd4d7 Compare July 9, 2026 22:53
@timurbazhirov
timurbazhirov merged commit e09c455 into main Jul 9, 2026
2 checks passed
@timurbazhirov
timurbazhirov deleted the chore/enable-strict-mode branch July 9, 2026 22:53
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.

1 participant