Closed betocantu93 closed 4 years ago
Adds support for blacklist/whitelist with pod components.
Use only whitelist or blacklist, NOT both.
As a reminder, whitelist is an array of components which will be included in the build, as well as all of their dependencies...
i.e
['ember-paper']: { whitelist: ['paper-autcomplete'] }
Would only include into the build:
[ 'paper-autocomplete', 'paper-autocomplete/ebd-trigger', 'paper-autocomplete/eps-trigger', 'paper-autocomplete/ebd-content', 'paper-autocomplete/options', 'paper-autocomplete/no-matches-message', 'paper-autocomplete/highlight' ]
If nested, the "path" must be specified
['ember-paper']: { whitelist: [ 'paper-autocomplete/ebd-trigger' ] }
Blacklist is harder to get right, use with caution, as it would only exclude this particular component.
['ember-paper']: { blacklist: [ 'paper-autocomplete/ebd-trigger' ] }
Thanks a lot @betocantu93 !
Adds support for blacklist/whitelist with pod components.
Use only whitelist or blacklist, NOT both.
As a reminder, whitelist is an array of components which will be included in the build, as well as all of their dependencies...
i.e
Would only include into the build:
If nested, the "path" must be specified
Blacklist is harder to get right, use with caution, as it would only exclude this particular component.