修复:添加reset.css和cell加上right-icon的slot (#27)

* add reset css and remove postcss-salad

* cell add right icon slog
This commit is contained in:
张敏
2017-05-09 11:45:33 +08:00
committed by Yao
parent 873c0ab25f
commit 8cdbb0fdd5
12 changed files with 126 additions and 533 deletions

View File

@@ -4,18 +4,20 @@ var config = {
'separators': {'descendent': '__', 'modifier': '--'}
}
};
var reset = require('postcss-css-reset')();
// https://github.com/trysound/postcss-easy-import
var partialImport = require("postcss-easy-import")();
var partialImport = require('postcss-easy-import')();
// 这不是bem虽然名字叫bem其实它是suit
// https://github.com/saladcss/saladcss-bem
var bem = require("saladcss-bem")(config.bem);
var bem = require('saladcss-bem')(config.bem);
// https://github.com/jonathantneal/precss
var precss = require("precss")();
var precss = require('precss')();
// https://github.com/postcss/autoprefixer
var autoprefixer = require("autoprefixer")();
var autoprefixer = require('autoprefixer')();
module.exports = function (webpack) {
// 顺序很重要
@@ -23,6 +25,7 @@ module.exports = function (webpack) {
partialImport,
bem,
precss,
autoprefixer
autoprefixer,
reset
];
};