Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite composes rules inside @imported stylesheets #389

Closed
wants to merge 1 commit into from

Conversation

vitalif
Copy link

@vitalif vitalif commented Jan 23, 2019

Hi. There is a problem with postcss-import that it doesn't rewrite relative paths in composes: x from '../file' when inlining @imported files, which breaks this kind of composition in css modules. I think the best place to fix it is postcss-import itself; also I couldn't find a way to fix it by configuration of any other loaders or plugins.
I've prepared two versions of this fix - for master and for 11.1.0. Could you please merge it?

@vitalif
Copy link
Author

vitalif commented Jan 23, 2019

Oops, sorry, it's all github picking the bad branch. rewrite-composes-11.x is of course for 11.1. Pick this commit for master: vitalif@490bb1b

@RyanZim
Copy link
Collaborator

RyanZim commented Jan 30, 2020

We do not formally support css-modules, so this is out of scope.

@RyanZim RyanZim closed this Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants