Closed jonathanong closed 10 years ago
the way the builder works right now is recursively find all the deps in order of 1) dependencies 2) locals 3) component.json scripts, styles, etc. thus, dependencies' files are interleaved between local components' files.
i think dependencies' files should always be above any local components'. one cool thing is that we could just bundle all the dependencies together in a single build and have all the locals in a separate build.
my reasoning is that any local CSS should override any dependencies' CSS, regardless if its a direct dependency.
+1 to locals being after deps
https://github.com/component/builder.js/issues/109