postcss-modules
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -69,5 +69,6 @@ 'use strict'; | ||
(0, _postcss2.default)([].concat(_toConsumableArray(plugins), [parser.plugin])).process(css, { from: css.source.input.file }).then(function () { | ||
Object.keys(loader.sources).forEach(function (key) { | ||
css.prepend(loader.sources[key]); | ||
}); | ||
var out = loader.finalSource; | ||
if (out) { | ||
css.prepend(out); | ||
} | ||
@@ -74,0 +75,0 @@ getJSON(css.source.input.file, parser.exportTokens); |
@@ -0,1 +1,4 @@ | ||
## 0.5.1 | ||
* Fixed sorting for composed dependencies by Josh Johnston (@joshwnj) (https://github.com/css-modules/postcss-modules/issues/38) | ||
## 0.5.0 | ||
@@ -2,0 +5,0 @@ * Added `scopeBehaviour` option (https://github.com/css-modules/postcss-modules/issues/22) |
{ | ||
"name": "postcss-modules", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "PostCSS plugin to use CSS Modules everywhere", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -128,3 +128,4 @@ # postcss-modules [![Build Status][ci-img]][ci] | ||
Or just pass an interpolated string to the `generateScopedName` option (see webpack's `interpolateName` for more details): | ||
Or just pass an interpolated string to the `generateScopedName` option | ||
(More details [here](https://github.com/webpack/loader-utils#interpolatename)): | ||
@@ -232,2 +233,1 @@ ```js | ||
[FileSystemLoader]: https://github.com/css-modules/css-modules-loader-core/blob/master/src/file-system-loader.js | ||
[webpack's `interpolateName`]: https://github.com/webpack/loader-utils#interpolatename |
13795
88