So, I use CSS Modules webpack loader:
css?modules&importLoaders=1&localIdentName=[path]_[name]_[local]_[hash:base64:5]
I want to compile each styleName
property to not only the generic class name usually generated but also to another simpler class.
for example: the code
<div styleName="CLASS-NAME" />
now compiles to
<div class="path_filename_CLASS-NAME_12345" />
and i want it to compile to
<div class="_CLASS-NAME path_filename_CLASS-NAME_12345" />