Socket
Socket
Sign inDemoInstall

optimize-css-assets-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimize-css-assets-webpack-plugin - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

index.js

@@ -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.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc