aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Orahood <[email protected]>2020-09-16 06:01:31 -0400
committerXhmikosR <[email protected]>2020-09-18 15:08:08 +0300
commit26c1fbe839482bf152cefcf57aa8797549fd8387 (patch)
treedcdf6f16f0e126e735e21f0db12f0dd085c0f834
parentb5fb84a91d43d5178c3a6732355f346fdc3a113c (diff)
downloadbootstrap-26c1fbe839482bf152cefcf57aa8797549fd8387.tar.xz
bootstrap-26c1fbe839482bf152cefcf57aa8797549fd8387.zip
Update webpack.md
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
-rw-r--r--site/content/docs/5.0/getting-started/webpack.md10
1 files 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 c67152f8d..693f96109 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')
+ ];
+ }
}
}
}, {