Currently the location of components is configures via the source.components configuration. This is not flexible enough as projects likely differ on where components are stored. React and Vue.js projects are structured differently than i.e. projects that use Handlebars or Pug for rendering.
Hence the logic or source configuration for the components should be moved to the individual adapters. Eventually the current retrieval can be used as a fallback in case the adapter does not provide the methods to be implemented.
Currently the location of components is configures via the
source.components
configuration. This is not flexible enough as projects likely differ on where components are stored. React and Vue.js projects are structured differently than i.e. projects that use Handlebars or Pug for rendering.Hence the logic or source configuration for the components should be moved to the individual adapters. Eventually the current retrieval can be used as a fallback in case the adapter does not provide the methods to be implemented.