Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Make rule.include, rule.exclude, loaders and plugins more extensible #16

Merged
merged 1 commit into from Mar 8, 2017

Conversation

eliperelman
Copy link
Member

@eliperelman eliperelman commented Mar 8, 2017

Make several API methods more extensible:

  • rule.include is now a ChainedSet
  • rule.exclude is now a ChainedSet
  • rule.loader -> rule.use(name) is now a ChainedMap
    • Adds .loader(loader)
    • Adds .options(options)
    • Adds .tap(f) : f = options => newArgs
  • plugin(name) is now a ChainedMap
    • Adds .use(Plugin, args)
    • Adds .tap(f) : f = args => newArgs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant