madyankin / madyankin/postcss-modules

Short class names in production

Open
#138 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.6k
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Is it considered safe to configure something like generateScopedName: "_[hash:base64:5]" to generate shorter class names for production environments or does this risk generating clashing class names? I could not find any advise regarding this in the issues or the readme.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the README and related issue discussions for guidance on generateScopedName: "_[hash:base64:5]" in production. Document whether this short format is safe and explain any class-name collision considerations so users can determine when to use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
documentation, frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.