ESM module support #98
appy-one
started this conversation in
Show and tell
Replies: 2 comments
-
Update: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Update: all packages (except |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
AceBase will be supporting ESM modules in addition to the current CommonJS distributions. To make this happen, all packages will be ported to TypeScript. This will greatly increase the code quality and reliability, and will allow transpiling to multiple distributions to allow usage of ESM modules in all packages. As this is a time consuming process, your patience is really appreciated.
The table below contains the current support for ESM, I'll keep this updated.
acebase-core: fully supported from v1.25.0, uses ESM build for
import
statements! Older versions from v1.15.0 up to 1.24.x use the CommonJS distribution for bothrequire
andimport
statements to prevent the so-called "Dual package hazard" on older acebase packages that depend on acebase-core. Please upgrade all your AceBase dependencies!acebase: supported from v1.27.0
acebase-client: Supported from v1.18.1
acebase-server: Supported from v1.10.0
acebase-ipc-server: not supported yet
If you like AceBase, please consider sponsoring me. Your support helps me to pay the bills and move the project further.
Beta Was this translation helpful? Give feedback.
All reactions