Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(builder): added esbuild builder for cjs bundle #61

Merged
merged 2 commits into from
Jun 22, 2023

Conversation

pragmatos
Copy link
Contributor

Added new dist bundle for cjs
#60
Fixed with patch:

ERROR: Top-level await is currently not supported with the "cjs" output format in @digitalbazaar/http-client

not found './fetch.node' in ipfs-utils

Using this bundle without errors in specific case:
import { auth } from '@iden3/js-iden3-auth/dist/cjs_bundle';

build.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@vmidyllic vmidyllic merged commit 85b79c7 into develop Jun 22, 2023
@vmidyllic vmidyllic deleted the feature/cjs-bundle branch June 22, 2023 09:40
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.

3 participants