Skip to content

refactor: convert animateCSS to ES module - #4266

Merged
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:animatecss-esm
Sep 14, 2026
Merged

khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:animatecss-esm

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

Follow-up to #4263.

With this, animateCSS is now also an ES module. The animation helpers and animation name arrays are exported explicitly and imported by main.js.

I manually verified that the animations still render and animate correctly in the browser.

@khassel
khassel merged commit e79ec64 into MagicMirrorOrg:develop Sep 14, 2026
13 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the animatecss-esm branch September 14, 2026 20:00
@rejas

rejas commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Thank you for your cool modernization ideas and code!

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator Author

Thanks for the positive feedback! It's actually fun to gradually refactor the codebase 🤓 I hope I don't break anything, even if I check for compatibility with third-party modules.

khassel pushed a commit that referenced this pull request Sep 18, 2026
Follow-up to #4266.

The browser bootstrap now uses a single native ESM entry point
:partying_face: Dependencies are imported explicitly, while keeping the
existing CommonJS exports for the server, tests, and third-party
modules.

No functional changes intended.
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.

3 participants