From 8bb485d1e0c89e50e12667869bdce3400c362fdb Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sat, 9 Jan 2016 13:55:09 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=B8=D0=BD=D0=B8=D1=84=D0=B8=D0=BA=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8E=20=D1=86=D0=B2=D0=B5=D1=82=D0=BE=D0=B2=20cssnano,?= =?UTF-8?q?=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D0=B0=D1=8F=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=80=D1=82=D0=B8=D0=BB=D0=B0=20=D0=B2=D1=8B=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20composes:=20black=20from=20./buttons?= =?UTF-8?q?.scss;.=20=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BB=D0=BE=D0=B0=D0=B4=D0=B5=D1=80=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE=20=D1=80=D0=B5=D0=B7=D0=BE=D0=BB=D0=B2=D0=B8=D0=BD=D0=B3?= =?UTF-8?q?=D0=B0=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D0=B5=D0=B9=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D1=82=D0=B0=D0=BA=D0=B8=D1=85=20=D0=B2=D1=8B?= =?UTF-8?q?=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 0cde667..d017084 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -102,7 +102,7 @@ var webpackConfig = { { test: /\.scss$/, extractInProduction: true, - loader: 'style!css?modules&localIdentName=[path][name]-[local]!postcss!sass' + loader: 'style!css?modules&importLoaders=2&localIdentName[=path][name]-[local]!postcss!sass' }, { test: /\.jsx?$/, @@ -137,6 +137,9 @@ var webpackConfig = { browsers: ['last 2 versions'] }, safe: true, + // отключаем минификацию цветов, что бы она не ломала такие выражения: + // composes: black from './buttons.scss'; + colormin: false, discardComments: { removeAll: true }