From b8b117b4596cdb817af2a89ad2d7425cc64918a7 Mon Sep 17 00:00:00 2001 From: Andrea Bruno <21980406+Andrea-Bruno@users.noreply.github.com> Date: Mon, 12 Oct 2026 08:20:31 +0200 Subject: [PATCH] Load classic FullCalendar global bundle and combined moment locales instead of ESM per-locale files --- src/App.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.php b/src/App.php index 5bf821d2f..b4ce0ac4c 100755 --- a/src/App.php +++ b/src/App.php @@ -67,9 +67,10 @@ class App 'custom.min.js', 'i18n/parsleyjs/|lang|.min.js', 'i18n/select2/|lang|.min.js', - 'i18n/moment/|lang|.min.js', + // The per-locale moment build is an ES module and fails as a classic + // script; the combined locales bundle already registers the locale. 'i18n/locales.min.js', - 'i18n/@fullcalendar/|lang|.min.js', + 'i18n/@fullcalendar/|lang|.global.min.js', 'api.js', ], ];