css-loader
Advanced tools
Comparing version
@@ -5,2 +5,9 @@ # Changelog | ||
### [5.1.4](https://github.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4) (2021-03-24) | ||
### Bug Fixes | ||
* crash with thread-loader ([#1281](https://github.com/webpack-contrib/css-loader/issues/1281)) ([7095a7c](https://github.com/webpack-contrib/css-loader/commit/7095a7ca7d985d5447aed80cf3e41a4f8c19b954)) | ||
### [5.1.3](https://github.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3) (2021-03-15) | ||
@@ -7,0 +14,0 @@ |
@@ -92,3 +92,3 @@ "use strict"; | ||
if (loaderContext._module.matchResource) { | ||
if (loaderContext._module && loaderContext._module.matchResource) { | ||
relativeMatchResource = `${normalizePath( // eslint-disable-next-line no-underscore-dangle | ||
@@ -149,3 +149,3 @@ _path.default.relative(options.context, loaderContext._module.matchResource))}\x00`; | ||
const resourcePath = // eslint-disable-next-line no-underscore-dangle | ||
loaderContext._module.matchResource || loaderContext.resourcePath; | ||
loaderContext._module && loaderContext._module.matchResource || loaderContext.resourcePath; | ||
let isIcss; | ||
@@ -152,0 +152,0 @@ |
{ | ||
"name": "css-loader", | ||
"version": "5.1.3", | ||
"version": "5.1.4", | ||
"description": "css loader module for webpack", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
129818
0.28%