css-loader 0.28.6 → 0.28.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  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.
4
4
 
5
+ <a name="0.28.7"></a>
6
+ ## [0.28.7](https://github.com/webpack/css-loader/compare/v0.28.6...v0.28.7) (2017-08-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * pass resolver to `localsLoader` (`options.alias`) ([#601](https://github.com/webpack/css-loader/issues/601)) ([8f1b57c](https://github.com/webpack/css-loader/commit/8f1b57c))
12
+
13
+
14
+
5
15
  <a name="0.28.6"></a>
6
16
  ## [0.28.6](https://github.com/webpack/css-loader/compare/v0.28.5...v0.28.6) (2017-08-30)
7
17
 
@@ -6,6 +6,7 @@ var loaderUtils = require("loader-utils");
6
6
  var processCss = require("./processCss");
7
7
  var getImportPrefix = require("./getImportPrefix");
8
8
  var compileExports = require("./compile-exports");
9
+ var createResolver = require("./createResolver");
9
10
 
10
11
 
11
12
  module.exports = function(content) {
@@ -14,12 +15,14 @@ module.exports = function(content) {
14
15
  var query = loaderUtils.getOptions(this) || {};
15
16
  var moduleMode = query.modules || query.module;
16
17
  var camelCaseKeys = query.camelCase || query.camelcase;
18
+ var resolve = createResolver(query.alias);
17
19
 
18
20
  processCss(content, null, {
19
21
  mode: moduleMode ? "local" : "global",
20
22
  query: query,
21
23
  minimize: this.minimize,
22
- loaderContext: this
24
+ loaderContext: this,
25
+ resolve: resolve
23
26
  }, function(err, result) {
24
27
  if(err) return callback(err);
25
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css-loader",
3
- "version": "0.28.6",
3
+ "version": "0.28.7",
4
4
  "author": "Tobias Koppers @sokra",
5
5
  "description": "css loader module for webpack",
6
6
  "engines": {