From 9dd899543804272fd0e2e1edc13f63789a0bcad3 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Fri, 25 Oct 2019 16:02:08 +0530 Subject: [PATCH] add autoprefixer plugin config to webpack.config.js --- webpack.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 51baf9c..5caab89 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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', ],