css-loader
is now a peer dependency instead to avoid errors that can be caused by the user of this loader having another version ofcss-loader
than this loader.- New option
writeDebounceMs
that lets you override the debounce delay. - Unnecessary option
modules
was removed since it can be assumed that you want to run thecss-loader
in module mode.
- New option callback called
onAfterOutput
which is a function you can specify that will be called immediately after the JSON file has been written to.
- Add support for resolving Webpack aliased files in
resolve.alias
. - Fixes bug that made it impossible to use
[path]
and[name]
inlocalIdentName
.
- Fixes bug that made it impossible to use
composes
more than once in a class.
- Fixes bug that cause the generated class names to differ between what this loader and what
css-loader
produces. - Catch exception from
mkpath
when it tries to create a folder that already exists.
- New option callback called
onOutput
which is a function you can specify that will be called instead of writing JSON to a file.