Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushn21 committed Dec 8, 2020
1 parent f00a92a commit 4f741d0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions bridgetown-website/src/_docs/frontend-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ If you'd like to use `Sass` with `PostCSS`, you'll need to install a plugin for
$ yarn add @csstools/postcss-sass
```

And then include it at the top of the `plugins` array in `postcss.config.js`:
And then include it at the top of the `plugins` object in `postcss.config.js`:

```js
module.exports = {
plugins: [
require('@csstools/postcss-sass'),
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
module.exports = {
plugins: {
'@csstools/postcss-sass': {},
'postcss-flexbugs-fixes': {},
'postcss-preset-env': {
autoprefixer: {
flexbox: 'no-2009'
},
stage: 3
})
]
}
}
}
```

Expand Down

0 comments on commit 4f741d0

Please sign in to comment.