Skip to content

Releases: helpscout/seed-harvester

Seed Harvester - v0.1.1

31 Oct 04:00

Choose a tag to compare

Changes

Prefer the paths of packs specified in package.json

During the de-duplication/sorting process of all the paths (to prep for Sass), Harvester will prefer and keep paths for packs specified in your package.json.

For example, have pack A is a dependency.

Pack A, depends on pack B.
But, you also have pack B if your dependencies.

The filtering process will look like this:

Step 1: Import all the packs:

pack/a/pack/b <-- this is pack a's dependency
pack/a
pack/b

Step 2: Prefer package.json pack paths

pack/b <-- this gets replaced
pack/a
pack/b

Step 3: De-dup paths

pack/b
pack/a

In the end, Sass receives an optimized list of packs where both dependencies and preferences are respected.