diff options
| author | Matthew Orahood <[email protected]> | 2020-09-16 06:01:31 -0400 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-09-18 15:08:08 +0300 |
| commit | 26c1fbe839482bf152cefcf57aa8797549fd8387 (patch) | |
| tree | dcdf6f16f0e126e735e21f0db12f0dd085c0f834 /site/content/docs | |
| parent | b5fb84a91d43d5178c3a6732355f346fdc3a113c (diff) | |
| download | bootstrap-26c1fbe839482bf152cefcf57aa8797549fd8387.tar.xz bootstrap-26c1fbe839482bf152cefcf57aa8797549fd8387.zip | |
Update webpack.md
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
Diffstat (limited to 'site/content/docs')
| -rw-r--r-- | site/content/docs/5.0/getting-started/webpack.md | 10 |
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') + ]; + } } } }, { |
