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

ESM-Bundle for using in browser #29

Closed
lqdchrm opened this issue Jan 13, 2023 · 1 comment
Closed

ESM-Bundle for using in browser #29

lqdchrm opened this issue Jan 13, 2023 · 1 comment

Comments

@lqdchrm
Copy link

lqdchrm commented Jan 13, 2023

Thanks a lot for this library, which I plan to use for model-validation in the browser.

Currently I'm a bit stuck, because I can't use the es6-bundle inside dist/module. The generated code imports files without file-extension .js, but this would be needed for browser imports.

Ideally, everything would be bundles into a single jsonSchemaLibrary.esm.min.js.

I can give it a try and add a bundle-script in package.json using esbuild.

@sagold
Copy link
Owner

sagold commented Feb 25, 2024

Closing this along with #51. Thank you for your efforts @lqdchrm!

@sagold sagold closed this as completed Feb 25, 2024
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

No branches or pull requests

2 participants