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-loader integration #148

Open
zslabs opened this issue Jan 20, 2023 · 0 comments
Open

css-loader integration #148

zslabs opened this issue Jan 20, 2023 · 0 comments

Comments

@zslabs
Copy link

zslabs commented Jan 20, 2023

Hi there! Have what's hopefully a quick question. Is postcss-modules meant to take the place of css-loader in a Webpack loader array? Currently, it looks like I'm getting double hashes callout__29s3F becomes callout__29s3F__f32d and the .json import I'm doing in my components isn't finding the write class; nor is it writing to the stylesheet as I would have assumed. I'd like to get the benefits of the .json file written to disk; but maintain the other functionality css-loader provides with its asset resolution. Thanks!

Edit

It looks like something similar was asked in https://stackoverflow.com/questions/35007509/are-where-any-examples-available-on-how-to-use-postcss-modules-instead-of-css-mo

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

1 participant