sapegin / grunt-bower-concat

Bower components concatenator for Grunt
MIT License
220 stars 72 forks source link

Web Components #19

Open polarity opened 10 years ago

polarity commented 10 years ago

Umm yea, Web Components are on the horizon. There a basically html files including css and js stored as bower components. I am not happy about storing Web Components on bower but yea, thats how it is actually.

Obviously "grunt-bower-concat" fails at trying to concat these components. Any plans of supporting this in the near future? Im trying to come up with a clean workaround today, basically hiding web components from bower-concat and treat them separately via another task or something.

sapegin commented 10 years ago

Do you have any ideas how it could be done in bower-concat? I never use web components.

/cc @artpolikarpov

polarity commented 10 years ago

Me neither. But it´s a w3c spec and coming soon to browsers natively. Chrome is supporting it partially already. So, the first step could be to just exclude web-component packages from the process to avoid errors. One rule is that packages have to be a "web-component" keyword in the manifest so that shouldn´t be too hard.

Second step could be a look at vulcanize. It´s the current cli tool for concatenating Web Components and resolve all its dependencies. Maybe we can just implement it into grunt-bower-concat? Sounds like the easiest way to me.

sapegin commented 10 years ago

Thanks! The fist step should be simple and we can start with it.