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

Provide UMD module that includes xmldom #47

Open
kewisch opened this issue Jan 25, 2023 · 2 comments
Open

Provide UMD module that includes xmldom #47

kewisch opened this issue Jan 25, 2023 · 2 comments

Comments

@kewisch
Copy link
Owner

kewisch commented Jan 25, 2023

Hi Phillip,

Thank you for your quick response. I would like to use your library in a tool we use to build a back office application: www.retool.comhttp://www.retool.com

I tried your unpkg link, but Retool does not like it:

[Graphical user interface, text, application, email Description automatically generated]

In Retool it is not possible to use require() and everything should be riding in one package. Here is the response to a similar question:

“For JS library imports we support files that contain the entire library. The link you tried has imports to other files and so that won’t work.”

I don’t know how to do that (put it all one package). Here is an example of another library that had the same problem trying to get it to run in Retool.com (the Question and the Answer to the solution:

Q: Trying to load this module following the instructions in the docs: @.***/index.min.js
But I’m not able to call it in a Retool JS query or JS transformer. Any thoughts?

CONTENT:
/**

A: You need to use @.***/dist/shortid-2.2.13.min.js which has all code in one package.

My question to you is if you know how to get sepa-xml into one package like above, I guess you have the experience to do this quite quickly.

Thank you so much for your time, Teele Horstra

Originally posted by @teeleh in #44 (comment)

@kewisch
Copy link
Owner Author

kewisch commented Jan 25, 2023

Indeed I am using xmldom, though only in a node environment. @teeleh does retool run node, or is it a browser thing? It shouldn't be too difficult to package xmldom in a dist file, though I'm not sure when I'll get around to doing this.

@teeleh
Copy link

teeleh commented Jan 25, 2023 via email

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