This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently Omorphia's index file has both the default and named exports. While this is totally supported by native ESM, it's pretty hard for transpilers to process and may lead to situations where named exports cannot be imported directly, requiring destructuring on the default import. For this and just consistency reasons, you'd usually avoid mixing default and named exports. This commit removes the default export, making it just an another named export called `plugin`. BREAKING CHANGE: plugin is now exported using `plugin` export, rather than the default export.
- Loading branch information