]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update webpack.md
authorMatthew Orahood <morahood@gmail.com>
Wed, 16 Sep 2020 10:01:31 +0000 (06:01 -0400)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 18 Sep 2020 12:08:08 +0000 (15:08 +0300)
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader

site/content/docs/5.0/getting-started/webpack.md

index c67152f8d9bf53f43d7dcdeb930552c74561a35b..693f9610929109d5c754f5dfc00f3239c77b1037 100644 (file)
@@ -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')
+          ];
+        }
       }
     }
   }, {