css-loaderis now a peer dependency instead to avoid errors that can be caused by the user of this loader having another version ofcss-loaderthan this loader.- New option
writeDebounceMsthat lets you override the debounce delay. - Unnecessary option
moduleswas removed since it can be assumed that you want to run thecss-loaderin module mode.
- New option callback called
onAfterOutputwhich 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
composesmore than once in a class.
- Fixes bug that cause the generated class names to differ between what this loader and what
css-loaderproduces. - Catch exception from
mkpathwhen it tries to create a folder that already exists.
- New option callback called
onOutputwhich is a function you can specify that will be called instead of writing JSON to a file.