postcss-loader
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -0,2 +1,5 @@ | ||
## 0.2 | ||
* Use PostCSS 3.0. | ||
## 0.1 | ||
* Initial release. |
{ | ||
"name": "postcss-loader", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "PostCSS loader for webpack", | ||
@@ -14,13 +14,13 @@ "keywords": ["webpack", "postcss", "loader", "css", "postproccessor"], | ||
"loader-utils": "^0.2.4", | ||
"postcss": "^2.2.5" | ||
"postcss": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"jshint-stylish": "1.0.0", | ||
"gulp-webpack": "0.4.1", | ||
"gulp-jshint": "1.8.4", | ||
"gulp-mocha": "1.1.0", | ||
"raw-loader": "0.5.0", | ||
"gulp-webpack": "1.0.0", | ||
"gulp-jshint": "1.9.0", | ||
"gulp-mocha": "1.1.1", | ||
"raw-loader": "0.5.1", | ||
"fs-extra": "0.12.0", | ||
"should": "4.0.4", | ||
"gulp": "3.8.8" | ||
"chai": "1.10.0", | ||
"gulp": "3.8.10" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
@@ -39,11 +39,2 @@ # PostCSS for Webpack [![Build Status](https://travis-ci.org/postcss/postcss-loader.png)](https://travis-ci.org/postcss/postcss-loader) | ||
## Safe Mode | ||
If you add `?safe=1` to requirement, PostCSS will try to correct any syntax | ||
error that it finds in the CSS. For example, it will parse `a {` as `a {}`. | ||
```js | ||
var css = require('postcss?safe=1!./broken') | ||
``` | ||
## Plugins Packs | ||
@@ -69,6 +60,16 @@ | ||
postcss: { | ||
default: [autoprefixer, csswring], | ||
cleaner: [autoprefixer({ browsers: [] })] | ||
defaults: [autoprefixer, csswring], | ||
cleaner: [autoprefixer({ browsers: [] })] | ||
} | ||
} | ||
``` | ||
## Safe Mode | ||
If you add `?safe=1` to requirement, PostCSS will try to correct any syntax | ||
error that it finds in the CSS. For example, it will parse `a {` as `a {}`. | ||
```js | ||
var css = require('postcss?safe=1!./broken') | ||
``` |
4703
74
+ Addedpostcss@3.0.7(transitive)
- Removedpostcss@2.2.6(transitive)
Updatedpostcss@^3.0.0