css-modules / postcss-modules-resolve-imports

Resolves ICSS imports
MIT License
9 stars 6 forks source link

provide determined dependency load order #12

Open sullenor opened 8 years ago

sullenor commented 8 years ago

For example:

/* A.css */
.a {
  composes: a from './C.css';
}

.b {
  composes: b from './B.css';
  composes: b from './C.css';
}

should put deps in the order: B.css, C.css, A.css.

Also should warn about unclear order.

sullenor commented 7 years ago

Presumably should be solved at https://github.com/css-modules/postcss-modules-extract-imports/issues/131