Skip to content

Releases: helpscout/seed-publish

Seed Publish - v0.1.1

10 Feb 16:13

Choose a tag to compare

Changes

Re-adds seed-exclude into this pack as unload. Also adds a reload mixin that counters it for more fine-grain control.

Seed Publish - v0.0.4

30 Oct 19:49

Choose a tag to compare

Changes

Abstracts exclude mixin to it's own repo/pack

The reason for this is because of how Seed (currently) handles includePaths for sass. Things get tricky when there are multiple packs that rely on the same pack (e.g. seed-publish), but that shared pack has different dependency versions.

I experienced this when testing out the exclude mixin introduced in v0.0.3. It could not be found because packs built with seed-publish#0.0.2 didn't have exclude (and the inclusion of seed-publish#0.0.3 didn't make a different for Sass).

Seed Publish - v0.0.3

30 Oct 19:12

Choose a tag to compare

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.