wang
wang

Reputation: 612

webpack's css-loader has an options 'localIdentName', is there anything else other than ' [hash:base64]'?

Such as [hash:MD5] [hash:SHA]. I have seen the css-loader readme document, where there is no relevant information

Upvotes: 1

Views: 682

Answers (1)

AmerllicA
AmerllicA

Reputation: 32572

Actually localIdentName has some options like base32, base16, hex and etc.

But I believe best of them is base64, you can write like this:

sha512:hash:base64:5

for more information you can read this GitHub Issue

Upvotes: 1

Related Questions