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

Distribute as JS and HTML? #1

Closed
madeleineostoja opened this issue May 23, 2017 · 5 comments
Closed

Distribute as JS and HTML? #1

madeleineostoja opened this issue May 23, 2017 · 5 comments
Labels

Comments

@madeleineostoja
Copy link

Just wondering, since this is a pure JS lib, would it make sense to distribute as both a .min.js and a .html file, like simpla-paths?

@bedeoverend
Copy link
Contributor

Yup I'm pro this 👍

@madeleineostoja
Copy link
Author

Only thing is I don't know if script tags dedupe... do they?

@madeleineostoja
Copy link
Author

After all that's the whole point of a shared behavior (unlike simpla-paths)

@bedeoverend
Copy link
Contributor

Nah, they don't dedupe. It's much of a muchness - we probably won't use it, so maybe just leave it off until either we have a need, or someone else uses this and asks for it? Its just if someone else wants to be able to take this and bake it into whatever they're doing, then they'd want a UMD module to consume I'd say.

@madeleineostoja
Copy link
Author

Hmm I'd say let's just leave it as HTML for now, can always re look when native ES6 modules roll around and can properly dedupe JS

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

No branches or pull requests

2 participants