optimize-css-assets-webpack-plugin
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -30,4 +30,4 @@ var _ = require('underscore'); | ||
OptimizeCssAssetsPlugin.prototype.processCss = function(css) { | ||
return this.options.cssProcessor.process(css, this.options.cssProcessorOptions); | ||
OptimizeCssAssetsPlugin.prototype.processCss = function(css, assetName) { | ||
return this.options.cssProcessor.process(css, Object.assign({ to: assetName }, this.options.cssProcessorOptions)); | ||
}; | ||
@@ -69,3 +69,3 @@ | ||
var promise = self.processCss(originalCss); | ||
var promise = self.processCss(originalCss, assetName); | ||
@@ -72,0 +72,0 @@ promise.then( |
{ | ||
"name": "optimize-css-assets-webpack-plugin", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"author": "Nuno Rodrigues", | ||
@@ -5,0 +5,0 @@ "description": "A Webpack plugin to optimize \\ minimize CSS assets.", |
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
6541