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

Short class names in production #138

Open
tf opened this issue Aug 25, 2022 · 1 comment
Open

Short class names in production #138

tf opened this issue Aug 25, 2022 · 1 comment

Comments

@tf
Copy link

tf commented Aug 25, 2022

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.

@squidfunk
Copy link

Collisions are not detected by this package, so you may want to track generated class names inside getJSON and at the end of the build process, check if there were any collisions.

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