From 4f741d0bedf208dc3a9c25d0458d410e616c6895 Mon Sep 17 00:00:00 2001 From: Ayush Newatia Date: Tue, 8 Dec 2020 20:28:00 +0000 Subject: [PATCH] Update docs --- bridgetown-website/src/_docs/frontend-assets.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bridgetown-website/src/_docs/frontend-assets.md b/bridgetown-website/src/_docs/frontend-assets.md index 6978b3c53..4fea224d1 100644 --- a/bridgetown-website/src/_docs/frontend-assets.md +++ b/bridgetown-website/src/_docs/frontend-assets.md @@ -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 - }) - ] + } + } } ```