kalamuna / kalastatic

:electric_plug: Facilitate the front-end experience through Styleguides and Prototypes
https://kalamuna.github.io/kalastatic/
41 stars 14 forks source link

Add Wildcard support to KSS CSS JS Source parameters #514

Open RobLoach opened 6 years ago

RobLoach commented 6 years ago
kss:
    builder: "node_modules/kstat-kss-builder"           builder: "node_modules/kstat-kss-builder"
 -  css: ../styles/main.css      +  css:
 +    - ../styles/main.css
 +    - ../styles/styleguide.css
 +  js:
 +    - ../vendor/bootstrap/bootstrap.min.js
 +    - ../vendor/jquery-once/jquery.once.min.js
 +    - ../js/drupal_pre.js
 +    - ../js/main.js
 +    - ../js/drupal_post.js
    source:         source:
 +    - node_modules/kss-bootstrap/styleguide/sections
 +    - node_modules/kss-bootstrap/styleguide/css/table
 +    - node_modules/kss-bootstrap/styleguide/css/button
 +    - node_modules/kss-bootstrap/styleguide/css/code
 +    - node_modules/kss-bootstrap/styleguide/css/grid
 +    - node_modules/kss-bootstrap/styleguide/css/helper
 +    - node_modules/kss-bootstrap/styleguide/css/form
 +    - node_modules/kss-bootstrap/styleguide/css/typography
 +    - node_modules/kss-bootstrap/styleguide/components/nav
 +    - node_modules/kss-bootstrap/styleguide/components/btn-group

Having wildcards would ease the path definitions here.