Skip to content

Commit

Permalink
docs: update link to postcss options (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrick95 authored Nov 25, 2020
1 parent 078ca9d commit 9eaf21e
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 9eaf21e

Please sign in to comment.