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

[Feature Request]: css modules support auto like it in css-loader #1304

Open
dingff opened this issue May 13, 2024 · 4 comments
Open

[Feature Request]: css modules support auto like it in css-loader #1304

dingff opened this issue May 13, 2024 · 4 comments

Comments

@dingff
Copy link

dingff commented May 13, 2024

What problem does this feature solve?

css modules can not be customized

What does the proposed API look like?

support auto function

@wre232114
Copy link
Member

try https://www.farmfe.org/docs/config/compilation-options#cssmodules

@dingff
Copy link
Author

dingff commented May 13, 2024

try https://www.farmfe.org/docs/config/compilation-options#cssmodules

css.modules.paths can be function?

@wre232114
Copy link
Member

No, only regex can be used

@dingff
Copy link
Author

dingff commented May 13, 2024

No, only regex can be used

Ok, this may be a workaround for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants