Fixes https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/319 by only building a commonjs module while still maintaining the ability to import from esm (import) or commonjs (require) due to some constraints in our build process the external wasm packages don't get converted into esm correctly and it is not worth going deeper at the moment
Alternatives Considered (optional):
I searches esbuild documentations and tries to hack the build around without luck
Description:
Fixes https://github.com/hyperledger/identus-edge-agent-sdk-ts/issues/319 by only building a commonjs module while still maintaining the ability to import from esm (import) or commonjs (require) due to some constraints in our build process the external wasm packages don't get converted into esm correctly and it is not worth going deeper at the moment
Alternatives Considered (optional):
I searches esbuild documentations and tries to hack the build around without luck
Checklist: