Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump postcss version to 8 #162

Merged
merged 7 commits into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ several plugins, but parse CSS only once.

Install required [postcss plugins](https://www.npmjs.com/browse/keyword/postcss-plugin) separately. E.g. for autoprefixer, you need to install [autoprefixer](https://github.com/postcss/autoprefixer) package.

### PostCSS

Starting from `8.0.0`, `gulp-postcss` moved its `postcss` dependency under `peerDependencies`. Therefore you'll need to manually install it.
m4thieulavoie marked this conversation as resolved.
Show resolved Hide resolved

$ npm install --save-dev postcss

## Basic usage

The configuration is loaded automatically from `postcss.config.js`
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"dependencies": {
"fancy-log": "^1.3.3",
"plugin-error": "^1.0.1",
"postcss": "^7.0.14",
"postcss-load-config": "^2.0.0",
m4thieulavoie marked this conversation as resolved.
Show resolved Hide resolved
"vinyl-sourcemaps-apply": "^0.2.1"
},
Expand All @@ -56,5 +55,8 @@
"proxyquire": "^2.1.0",
"sinon": "^6.3.5",
"vinyl": "^2.2.0"
},
"peerDependencies": {
"postcss": "^8.0.0"
}
}