postcss-wrapper-loader
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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
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
2843
29