Skip to content
  • Ken Hawkins's avatar
    c55ba5f3
    Add dynamic sass imports (#342) · c55ba5f3
    Ken Hawkins authored
    * Add dynamic sass imports
    
    Use case: right now if a component isn't "installed" it _must_ be disabled in vf-core/index.scss
    
    That adds a configuration step to customisation and means you can't really ever npm install vf-core unless you want to not add/remove components (which, you really should be customising)
    
    So this idea uses gulp+node as a middle layer to see what components are installed and then ignores them in `vf-core/index.scss` if they're missing.
    
    WIP and it needs cleanup.
    
    * Quick tidy
    
    * Cleanup, better warnings
    c55ba5f3
    Add dynamic sass imports (#342)
    Ken Hawkins authored
    * Add dynamic sass imports
    
    Use case: right now if a component isn't "installed" it _must_ be disabled in vf-core/index.scss
    
    That adds a configuration step to customisation and means you can't really ever npm install vf-core unless you want to not add/remove components (which, you really should be customising)
    
    So this idea uses gulp+node as a middle layer to see what components are installed and then ignores them in `vf-core/index.scss` if they're missing.
    
    WIP and it needs cleanup.
    
    * Quick tidy
    
    * Cleanup, better warnings
Loading Analyzing file…
Loading