From b8ed79549a52c19e251ea7de405d4aa8e87b593b Mon Sep 17 00:00:00 2001 From: dwqs <461147874@qq.com> Date: Thu, 8 Mar 2018 14:25:45 +0800 Subject: [PATCH] Update --- postcss.config.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index 3c0bb6b..887ba27 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,11 +1,7 @@ -'use strict'; - -//fix: https://github.com/akveo/ng2-admin/issues/604 -//使用 happypack 之后 需单独提供 postcss 配置文件 +// fix: https://github.com/akveo/ng2-admin/issues/604 +// 使用 happypack 之后 需单独提供 postcss 配置文件 module.exports = { plugins: [ - require('autoprefixer')({ browsers: ['last 5 versions','Android >= 4.0', 'iOS >= 7'] }), - require('precss')(), - require('cssnano')({zindex: false}) + require('autoprefixer')({ browsers: ['last 5 versions', 'Android >= 4.0', 'iOS >= 7'] }), ] -} +};