Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Make Omorphia an ESM-only module #115

Merged
merged 1 commit into from
Nov 11, 2023

Conversation

brawaru
Copy link
Contributor

@brawaru brawaru commented Oct 22, 2023

ESM is widely supported these days and continues to improve. All
intended Omorphia consumers do not use CJS export, as such it is
unnecessary and can be safely removed to speed up the build process
and remove the possibility of the dual package hazard.

Third-party consumers recommended to switch to ESM or use async import.

Recommended read:
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

ESM is widely supported these days and continues to improve. All
intended Omorphia consumers do not use CJS export, as such it is
unnecessary and can be safely removed to speed up the build process
and remove the possibility of the dual package hazard.

Third-party consumers recommended to switch to ESM or use async import.

Recommended read:
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
@triphora triphora merged commit 9c3ff71 into modrinth:master Nov 11, 2023
1 check passed
@brawaru brawaru deleted the fix/cjs-must-become-extinct branch November 20, 2023 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants