Use [hash:base64:5] in JavaScript / TypeScript file
问题 I am using CSS Modules in an Angular Project with Webpack. I had already transformed the class names in .css and .scss files with postcss-modules. Then with posthtml-css-modules I had changed the values on the class property in html elements for his hash value defined by postcss-modules . I can say that everything is working fine 💪. Now, I have a new challenge to resolve. Angular, has a feature that allows you to change dynamically the value of class in a html element depending on a condition