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

Fix: dev css modules classnames should include filename #18

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

frilox042
Copy link
Contributor

Add the css module filename to avoid potential dev classname collisions.

See:
facebook/docusaurus#5034

Docusaurus just merged this behaviour in master.
I think this plugin should follow the same behaviour.

Also, I personally encounter classname collisions in development.

Add the css module filename to avoid potential dev classname collisions.

See:
facebook/docusaurus#5034

Docusaurus just merged this behaviour in master.
I think this plugin should follow the same behaviour.

Also, I personally encounter classname collisions in development.
@jsamr
Copy link

jsamr commented Jun 24, 2021

@rlamana Please, press the merge button! It's a 6 bytes addition to fix a critical bug! ❤️

PS tested this branch on my project, I confirm it fixes the bug.

@rlamana rlamana merged commit 13c60af into rlamana:master Jun 24, 2021
@jsamr
Copy link

jsamr commented Jun 24, 2021

@rlamana THANK YOU!

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.

3 participants