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

How to use this library with bundler #444

Open
vaclavHala opened this issue Jan 8, 2024 · 1 comment
Open

How to use this library with bundler #444

vaclavHala opened this issue Jan 8, 2024 · 1 comment
Labels

Comments

@vaclavHala
Copy link

Hi, I'd like to use bundler (webpack, rollup, doesn't matter which) to create a single .js file from all of my code + dependencies, one of which is this library.

I have trouble including this particular library because it does not use ESM or commonJS so I think the bundler has no way to "see" code from the lib is reached by my code and does not know what to include.

Have you faced this problem before? Is there a simple solution I'm not seeing? (I guess simply prepending all content from jsonform.js at start of my bundle might work, but I only want to go that way as last resort)
Thanks

@sdetweil
Copy link
Contributor

sdetweil commented Jan 9, 2024

i do not know.. none of my applications require bundling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants