Open
Description
Since css-modules-require-hook started using postcss-modules-resolve-imports (v4.2.2), preprocessCss
is no longer being called on composed files, which makes using this module with stylus impossible if you use composes
.
For example, this:
// src/components/Home/styles.styl
.header
composes: header from '../styles/page.styl'
should give me:
// src/components/Home/index.js
styles = {
header: 'styles__header__abcd page__header__abcd',
}
but instead I get:
// src/components/Home/index.js
styles = {
header: 'styles__header__abcd header',
}
because page.styl isn't being preprocessed before postcss is run.
Metadata
Metadata
Assignees
Labels
No labels