From 26c1fbe839482bf152cefcf57aa8797549fd8387 Mon Sep 17 00:00:00 2001 From: Matthew Orahood Date: Wed, 16 Sep 2020 06:01:31 -0400 Subject: [PATCH] Update webpack.md potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader --- site/content/docs/5.0/getting-started/webpack.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/site/content/docs/5.0/getting-started/webpack.md b/site/content/docs/5.0/getting-started/webpack.md index c67152f8d9..693f961092 100644 --- a/site/content/docs/5.0/getting-started/webpack.md +++ b/site/content/docs/5.0/getting-started/webpack.md @@ -55,10 +55,12 @@ For Bootstrap to compile, make sure you install and use the required loaders: [s }, { loader: 'postcss-loader', // Run postcss actions options: { - plugins: function () { // postcss plugins, can be exported to postcss.config.js - return [ - require('autoprefixer') - ]; + postcssOptions: { + plugins: function () { // post css plugins, can be exported to postcss.config.js + return [ + require('autoprefixer') + ]; + } } } }, {