Lullabot / windup

A Drupal starter theme
GNU General Public License v2.0
26 stars 8 forks source link

[Re: #55] Get WireDep working for D8 #57

Closed wesruv closed 8 years ago

wesruv commented 9 years ago

From @tlattimore : This is actually going to be a quite difficult in contrast to how we have wiredep setup for D7 as now libraries are declared in separate .yml files fromt the .info.

carwin commented 8 years ago

I'd like to assign this to @justafish, but for some reason I'm unable to.

carwin commented 8 years ago

Figured it out, I had to add her as a collaborator.

carwin commented 8 years ago

So essentially for windup there are two pieces to this puzzle. I created a bower library in windup.libraries.yml, and that contains the comment placeholders that wiredep hooks into. Then I include the bower library in windup.info.yml.

Our _vendor.scss stays the same and I've excluded any jQuery dependency so that'll never get added.

If anyone finds problems open a new issue.