postcss-loader
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -0,1 +1,4 @@ | ||
## 0.4.4 | ||
* Fix error on empty PostCSS config. | ||
## 0.4.3 | ||
@@ -2,0 +5,0 @@ * Better check for `CssSyntaxError`. |
@@ -21,3 +21,5 @@ var loaderUtils = require('loader-utils'); | ||
var plugins = this.options.postcss; | ||
if ( params.pack ) { | ||
if ( typeof plugins === 'undefined' ) { | ||
plugins = []; | ||
} else if ( params.pack ) { | ||
plugins = plugins[params.pack]; | ||
@@ -28,4 +30,4 @@ } else if ( !Array.isArray(plugins) ) { | ||
var loader = this; | ||
var callback = this.async(); | ||
var loader = this; | ||
var callback = this.async(); | ||
@@ -32,0 +34,0 @@ postcss(plugins) |
{ | ||
"name": "postcss-loader", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "PostCSS loader for webpack", | ||
@@ -14,10 +14,10 @@ "keywords": ["webpack", "loader", "css", "postcss", "postcss-runner"], | ||
"loader-utils": "^0.2.7", | ||
"postcss": "^4.1.9" | ||
"postcss": "^4.1.11" | ||
}, | ||
"devDependencies": { | ||
"gulp-webpack": "1.4.0", | ||
"gulp-eslint": "0.11.1", | ||
"gulp-mocha": "2.0.1", | ||
"gulp-eslint": "0.12.0", | ||
"gulp-mocha": "2.1.0", | ||
"raw-loader": "0.5.1", | ||
"fs-extra": "0.18.2", | ||
"fs-extra": "0.18.4", | ||
"chai": "2.3.0", | ||
@@ -24,0 +24,0 @@ "gulp": "3.8.11" |
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
6595
41
Updatedpostcss@^4.1.11