image-minimizer-webpack-plugin
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -153,3 +153,3 @@ "use strict"; | ||
} | ||
const filename = ABSOLUTE_URL_REGEX.test(this.resourcePath) && !WINDOWS_PATH_REGEX.test(this.resourcePath) ? this.resourcePath : this.utils.contextify(this.rootContext, this.resourcePath); | ||
const filename = ABSOLUTE_URL_REGEX.test(this.resourcePath) && !WINDOWS_PATH_REGEX.test(this.resourcePath) ? this.resourcePath : path.relative(this.rootContext, this.resourcePath); | ||
const minifyOptions = /** @type {import("./index").InternalWorkerOptions<T>} */{ | ||
@@ -156,0 +156,0 @@ input: content, |
{ | ||
"name": "image-minimizer-webpack-plugin", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Webpack loader and plugin to optimize (compress) images using imagemin", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
150399