Skip to content

PostCSS not applied to css modules that compose other css files #8

Closed
@justinhelmer

Description

@justinhelmer

This doesn't work (postcss not applied):

.title {
    composes: xx-large from './css/typography.css';
}

This does:

.title {
    composes: xx-large from 'postcss-loader!./css/typography.css';
}

Also import will apply loaders, i.e.:

// App.vue
import typography from './css/typography.css'
/* App.vue */
.title {
    composes: xx-large from './css/typography.css';
}

But it should be baked in.

webpack-contrib/postcss-loader#40
webpack-contrib/css-loader#137
https://forum.vuejs.org/t/css-modules-composes-and-vue-loader/6941/3
https://github.com/css-modules/postcss-modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions