mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 08:10:47 +02:00
Update webpack.md
potcss-loader now uses the `postcssOptions` key. https://www.npmjs.com/package/postcss-loader
This commit is contained in:
committed by
XhmikosR
parent
b5fb84a91d
commit
26c1fbe839
@@ -55,10 +55,12 @@ For Bootstrap to compile, make sure you install and use the required loaders: [s
|
|||||||
}, {
|
}, {
|
||||||
loader: 'postcss-loader', // Run postcss actions
|
loader: 'postcss-loader', // Run postcss actions
|
||||||
options: {
|
options: {
|
||||||
plugins: function () { // postcss plugins, can be exported to postcss.config.js
|
postcssOptions: {
|
||||||
return [
|
plugins: function () { // post css plugins, can be exported to postcss.config.js
|
||||||
require('autoprefixer')
|
return [
|
||||||
];
|
require('autoprefixer')
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
Reference in New Issue
Block a user