Skip to content

refactor(socket): use direct ESM import in main - #4225

Merged
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm
Aug 4, 2026
Merged

refactor(socket): use direct ESM import in main#4225
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

This is a follow-up to #4224.

The original PR focused on loading Socket.IO as ESM while keeping existing modules compatible. While reviewing that change, I noticed that I missed that main.js was still reading the client through the global io variable. This PR cleans that up.

Comment thread js/main.js Dismissed
@khassel
khassel merged commit 18be1fc into MagicMirrorOrg:develop Aug 4, 2026
13 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the esm branch August 4, 2026 19:08
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