diff --git a/CHANGELOG.md b/CHANGELOG.md index f79f3841..ec4e840b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [0.28.3](https://github.com/webpack/css-loader/compare/v0.28.2...v0.28.3) (2017-05-25) + + +### Bug Fixes + +* correct plugin order for CSS Modules ([#534](https://github.com/webpack/css-loader/issues/534)) ([b90f492](https://github.com/webpack/css-loader/commit/b90f492)) + + + ## [0.28.2](https://github.com/webpack/css-loader/compare/v0.28.1...v0.28.2) (2017-05-22) diff --git a/lib/processCss.js b/lib/processCss.js index 5468fc79..04dcdb1d 100644 --- a/lib/processCss.js +++ b/lib/processCss.js @@ -159,6 +159,7 @@ module.exports = function processCss(inputSource, inputMap, options, callback) { }; var pipeline = postcss([ + modulesValues, localByDefault({ mode: options.mode, rewriteUrl: function(global, url) { @@ -176,7 +177,6 @@ module.exports = function processCss(inputSource, inputMap, options, callback) { } }), extractImports(), - modulesValues, modulesScope({ generateScopedName: function generateScopedName (exportName) { return customGetLocalIdent(options.loaderContext, localIdentName, exportName, { diff --git a/package.json b/package.json index e7ebe7bb..2d17a16d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "css-loader", - "version": "0.28.2", + "version": "0.28.3", "author": "Tobias Koppers @sokra", "description": "css loader module for webpack", "engines": {