Update webpack.md
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
This commit is contained in:
parent
b5fb84a91d
commit
26c1fbe839
1 changed files with 6 additions and 4 deletions
|
|
@ -55,12 +55,14 @@ For Bootstrap to compile, make sure you install and use the required loaders: [s
|
|||
}, {
|
||||
loader: 'postcss-loader', // Run postcss actions
|
||||
options: {
|
||||
postcssOptions: {
|
||||
plugins: function () { // post css plugins, can be exported to postcss.config.js
|
||||
return [
|
||||
require('autoprefixer')
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
loader: 'sass-loader' // compiles Sass to CSS
|
||||
}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue