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

css-modules-transform + postcss + generateScopedName does not work as expecting #82

Open
a-x- opened this issue Feb 27, 2018 · 3 comments

Comments

@a-x-
Copy link

a-x- commented Feb 27, 2018

input:
a.css:

.foo { color: red; font-weight: bold; }
.bar { color: red; font-weight: normal; }

output:
a.css:

.lib-a-a-foo-XcD0 {font-weight: bold;}
.lib-a-a-bar-wEd3 {color: red; font-weight: normal;}
.foo,.bar {color: red;} /* <<< generateScopedName omited in postcss optimized selector */
@a-x-
Copy link
Author

a-x- commented Feb 27, 2018

my config: #59 (comment)

@michalkvasnicak
Copy link
Owner

@a-x- have you resolved the issue using processorOpts?

@a-x-
Copy link
Author

a-x- commented Mar 23, 2018

I canceled trying

I created new babel plugin babel-plugin-transform-import-css for bundling css-modues to js eventually

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

No branches or pull requests

2 participants