Seed Publish - v0.0.3
Changes
Adds exclude() mixin
Exclude allows you to prevent content that will be published during the CSS compile stage.
Example:
@include exclude(thing);
@include export(thing) {
.thing {
background: black;
}
}
@include publish(thing);Even though the thing module is exported and published, it will not be included in the compiled CSS because it was excluded via the exclude() mixin.
This mixin accepts strings and (nested) lists as an argument. So you can do something like this:
@include exclude(
seed-button,
seed-list,
seed-dropdown,
seed-spacing
);All of the above mentioned modules (packs) will be excluded from the rendered CSS.
Note: You must use exclude before your export/published modules. Excluding things after the fact doesn't work because CSS is compiled top to bottom.