Skip to content

Commit

Permalink
Update link to PostCSS options
Browse files Browse the repository at this point in the history
Update links to [PostCSS options](https://postcss.org/api/#processoptions) as the old link simply redirect to the new site without applying any anchoring
  • Loading branch information
kenrick95 authored Nov 25, 2020
1 parent 078ca9d commit 309ee0a
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 309ee0a

Please sign in to comment.