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

Update README link to PostCSS options #503

Merged
merged 1 commit into from
Nov 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ module.exports = {
Type: `Object|Function`
Default: `undefined`

Allows to set [`PostCSS options`](http://api.postcss.org/global.html#processOptions) and plugins.
Allows to set [`PostCSS options`](https://postcss.org/api/#processoptions) and plugins.

All `PostCSS` options are supported.
There is the special `config` option for config files. How it works and how it can be configured is described below.
Expand Down Expand Up @@ -381,7 +381,7 @@ Using `Object` notation:

```js
module.exports = {
// You can specify any options from http://api.postcss.org/global.html#processOptions here
// You can specify any options from https://postcss.org/api/#processoptions here
// parser: 'sugarss',
plugins: [
// Plugins for PostCSS
Expand All @@ -405,7 +405,7 @@ module.exports = (api) => {

if (/\.sss$/.test(api.file)) {
return {
// You can specify any options from http://api.postcss.org/global.html#processOptions here
// You can specify any options from https://postcss.org/api/#processoptions here
parser: "sugarss",
plugins: [
// Plugins for PostCSS
Expand All @@ -416,7 +416,7 @@ module.exports = (api) => {
}

return {
// You can specify any options from http://api.postcss.org/global.html#processOptions here
// You can specify any options from https://postcss.org/api/#processoptions here
plugins: [
// Plugins for PostCSS
["postcss-short", { prefix: "x" }],
Expand All @@ -430,7 +430,7 @@ module.exports = (api) => {

```js
module.exports = {
// You can specify any options from http://api.postcss.org/global.html#processOptions here
// You can specify any options from https://postcss.org/api/#processoptions here
// parser: 'sugarss',
plugins: {
// Plugins for PostCSS
Expand Down