add autoprefixer plugin config to webpack.config.js

This commit is contained in:
abhijithvijayan 2019-10-25 16:02:08 +05:30
parent 56898300a7
commit 9dd8995438

View File

@ -89,6 +89,14 @@ module.exports = {
sourceMap: true,
},
},
{
loader: 'postcss-loader',
options: {
ident: 'postcss',
// eslint-disable-next-line global-require
plugins: [require('autoprefixer')()],
},
},
'resolve-url-loader',
'sass-loader',
],