Socket
Socket
Sign inDemoInstall

css-loader

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-loader - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

4

index.js

@@ -13,4 +13,6 @@ /*

var root = query.root;
var forceMinimize = query.minimize;
var minimize = typeof forceMinimize !== "undefined" ? !!forceMinimize : (this && this.minimize);
var tree = csso.parse(content, "stylesheet");
if(tree && this && this.minimize) {
if(tree && minimize) {
tree = csso.compress(tree, query.disableStructuralMinification);

@@ -17,0 +19,0 @@ tree = csso.cleanInfo(tree);

{
"name": "css-loader",
"version": "0.7.0",
"version": "0.7.1",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "css loader module for webpack",

@@ -67,4 +67,10 @@ # css loader for webpack

You can also disable or enforce minification with the `minimize` query parameter.
`require("css-loader?minimize!./file.css")` (enforced)
`require("css-loader?-minimize!./file.css")` (disabled)
## License
MIT (http://www.opensource.org/licenses/mit-license.php)
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