@DanielRuf What I mean is, should util/breakpoint
import util/unit
, since it uses functions from that partial. i.e. You either have:
a) util/breakpoint
depends on/imports util/unit
, and you only need to import util/breakpoint
. (graph-like dependencies)
b) util/breakpoint
doesn't import util/unit
, so if you need to use util/breakpoint
, you have to import util/unit
as well. (flat dependencies)
The way it is now, I have to know what util/breakpoint
depends on, and that may change over time (so code could break, in theory). Also, it's hard to know whether or not it's okay to use util/breakpoint
on its own, vs all of util/util
, vs the whole of Foundation.
However, I don't really know what the norm is in Sass. This is obviously how things work in JS, but that behaves differently as well.