less-loader
Advanced tools
Comparing version 7.2.0 to 7.2.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [7.2.1](https://github.com/webpack-contrib/less-loader/compare/v7.2.0...v7.2.1) (2020-12-28) | ||
### Bug Fixes | ||
* errors from less ([#401](https://github.com/webpack-contrib/less-loader/issues/401)) ([ce31aca](https://github.com/webpack-contrib/less-loader/commit/ce31aca7aada70a8cc267449954ab38b642cd4ba)) | ||
## [7.2.0](https://github.com/webpack-contrib/less-loader/compare/v7.1.0...v7.2.0) (2020-12-23) | ||
@@ -7,0 +14,0 @@ |
@@ -52,3 +52,3 @@ "use strict"; | ||
if (error.filename) { | ||
// `less` return forward slashes on windows when `webpack` resolver return an absolute windows path in `WebpackFileManager` | ||
// `less` returns forward slashes on windows when `webpack` resolver return an absolute windows path in `WebpackFileManager` | ||
// Ref: https://github.com/webpack-contrib/less-loader/issues/357 | ||
@@ -55,0 +55,0 @@ this.addDependency(_path.default.normalize(error.filename)); |
@@ -15,3 +15,3 @@ "use strict"; | ||
super(); | ||
this.message = ["\n", ...LessError.getFileExcerptIfPossible(error), error.message.charAt(0).toUpperCase() + error.message.slice(1), ` Error in ${_path.default.normalize(error.filename)} (line ${error.line}, column ${error.column})`].join("\n"); | ||
this.message = ["\n", ...LessError.getFileExcerptIfPossible(error), error.message.charAt(0).toUpperCase() + error.message.slice(1), error.filename ? ` Error in ${_path.default.normalize(error.filename)} (line ${error.line}, column ${error.column})` : ""].join("\n"); | ||
this.hideStack = true; | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "less-loader", | ||
"version": "7.2.0", | ||
"version": "7.2.1", | ||
"description": "A Less loader for webpack. Compiles Less to CSS.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41552