It looks like using a classIdPrefix string with interpolations like [name] through a webpack config is broken. I think it is due to a typo here, classIdPref instead of classIdPrefix.
The example from the readme using classIdPrefix: '[name]-[hash:8]__' uses the literal string as a prefix instead of interpolating it. Using classIdPrefix: true to use the name as a prefix does work.
It looks like using a
classIdPrefix
string with interpolations like[name]
through a webpack config is broken. I think it is due to a typo here,classIdPref
instead ofclassIdPrefix
.The example from the readme using
classIdPrefix: '[name]-[hash:8]__'
uses the literal string as a prefix instead of interpolating it. UsingclassIdPrefix: true
to use the name as a prefix does work.