Skip to content

refactor: migrate http_fetcher, server_functions and defaultmodules to ESM - #4331

Merged
khassel merged 3 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm
Nov 4, 2026
Merged

khassel merged 3 commits into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

Another small step in the ESM migration, following #4330.

I've converted http_fetcher.js, server_functions.js and the default module list to ESM, along with their corresponding unit tests. Existing CommonJS consumers remain supported, and custom defaultModulesDir values can still provide a CommonJS defaultmodules.js.

@khassel
khassel merged commit 3025d94 into MagicMirrorOrg:develop Nov 4, 2026
13 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the esm branch November 4, 2026 18:43
khassel pushed a commit that referenced this pull request Nov 5, 2026
Nextl step in the ESM migration, following #4331.

I've converted the newsfeed scripts to ESM.
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.

2 participants