Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

No module-less runtime present in dist/ #137

Open
lazd opened this issue Nov 17, 2014 · 7 comments
Open

No module-less runtime present in dist/ #137

lazd opened this issue Nov 17, 2014 · 7 comments

Comments

@lazd
Copy link

lazd commented Nov 17, 2014

It would be nice to have a runtime distribution that exposes window.HTMLBars in environments that don't use a module system.

Is this possible given the fact that the project is relying heavily on modules?

@rwjblue
Copy link
Collaborator

rwjblue commented Nov 17, 2014

@lazd - It is possible, yes. But I'd like to understand your use case more first. Can you explain in a bit more detail what you are looking for?

@mmun
Copy link
Collaborator

mmun commented Nov 17, 2014

Yes I'd love to ship an optimized bundled build, it's just not a priority right now. cc @eventualbuddha

@lazd
Copy link
Author

lazd commented Nov 17, 2014

Right now, I'm including HTMLBars in a set of benchmarks of template systems as part of DOMly. I have a super old build marked as 0.1.0 that supported the module-less use case, and I'm using that (I think I ripped it from a demo).

In updating DOMly's dependencies, I checked back on HTMLBars to see if I could use npm or bower to fetch it instead of including it in the repo, but I'd rather not introduce AMD just to load HTMLBars.

@mixonic
Copy link
Collaborator

mixonic commented Dec 13, 2014

@eventualbuddha's work would get us to a global build, but we could also create a custom build for globals that included loader.js in a closure. It is not ideal, but it would be a globals mode. I'd welcome it as a contribution for the interim.

@e00dan
Copy link

e00dan commented Sep 21, 2015

Is this still up-for-grabs or should this be closed? I see this is referenced in commits. @mixonic

@mixonic
Copy link
Collaborator

mixonic commented Sep 21, 2015

@kuzirashi seems like commit is part of #300

@e00dan
Copy link

e00dan commented Sep 21, 2015

I see. So this needs to be open.

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

No branches or pull requests

5 participants