From: Matthew Orahood Date: Wed, 16 Sep 2020 10:01:31 +0000 (-0400) Subject: Update webpack.md X-Git-Tag: v5.0.0-alpha2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c1fbe839482bf152cefcf57aa8797549fd8387;p=thirdparty%2Fbootstrap.git Update webpack.md potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader --- 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') + ]; + } } } }, {