-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
Yup I'm pro this 👍 |
Only thing is I don't know if script tags dedupe... do they? |
After all that's the whole point of a shared behavior (unlike simpla-paths) |
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. |
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 |
Just wondering, since this is a pure JS lib, would it make sense to distribute as both a
.min.js
and a.html
file, likesimpla-paths
?The text was updated successfully, but these errors were encountered: