I have the following structure of SCSS files:
suppliers.scss
: includes _base.scss
, _sortable-table.scss
and _product.scss
_sortable-table.scss
and _product.scss
: includes _base.scss
_base.scss
contains many variables that defines the layout, like the modulation and intercolumn size. Also, it contains base layout classes that are extended by others.
The problem is, as the partials and every style requires this base import, its contents then gets duplicated several times in the result css file. This causes a big overhead on the css.
So the problem is how to prevent this duplication. Any guess?
See the actual sources at https://github.com/coletivoEITA/noosfero-ecosol/tree/distribution-plugin/plugins/suppliers/public/stylesheets