From e6c33b9ecc8a9016d714d38d326af64c9d3fc25d Mon Sep 17 00:00:00 2001 From: Nana Sakisaka Date: Thu, 9 Nov 2017 11:46:13 +0900 Subject: [PATCH] Engage postcss-loader for scss too; fixes #33 --- webpack.common.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index c5457b6..0189243 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -128,9 +128,19 @@ module.exports = env => ({ importLoaders: 2, }, }, - // { - // loader: 'postcss-loader', - // }, + { + loader: 'postcss-loader', + options: { + config: { + ctx: { + env: env, + cssnano: { + autoprefixer: false, + }, + }, + }, + }, + }, { loader: 'sass-loader', },