Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-wrapper-loader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-wrapper-loader - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

index.js

@@ -38,6 +38,6 @@ const _ = require('lodash/fp');

processor.process(source).then(function(result){
processor.process(source).then(function(result) {
compilation.assets[file] = {
source: result.css,
size: result.css.length
source: function() { return result.css; },
size: function() { return result.css.length; }
};

@@ -44,0 +44,0 @@ callback();

{
"name": "postcss-wrapper-loader",
"version": "0.0.1",
"version": "0.0.2",
"private": false,

@@ -5,0 +5,0 @@ "description": "This plugin wraps all the cssClasses in a css file with a prefix class while webpack bundled. It helps to scope a specific css file with a prefix class",

@@ -1,2 +0,3 @@

## PostCss Wrapper Loader
## PostCss Wrapper Loader for Webpack
### Example

@@ -21,3 +22,3 @@ This plugin wraps all the cssClasses in a css file with a prefix class while webpack bundled. It helps to scope a specific css file with a prefix class

then within your webpack plugins:
add this plugin in webpack plugins
```

@@ -24,0 +25,0 @@ plugins: [

Sorry, the diff of this file is not supported yet

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