remove redundant style files

pull/3148/head
Leopoldthecoder 2017-02-28 17:26:44 +08:00 committed by 杨奕
parent 735d44b52a
commit 15e48c9105
2 changed files with 1 additions and 3 deletions

View File

@ -18,6 +18,7 @@ function fileExists(filePath) {
themes.forEach((theme) => {
var indexContent = '@import "./base.css";\n';
Components.forEach(function(key) {
if (['icon', 'option', 'option-group'].indexOf(key) > -1) return;
var fileName = key + '.css';
indexContent += '@import "./' + fileName + '";\n';
var filePath = path.resolve(basepath, theme, 'src', fileName);

View File

@ -18,8 +18,6 @@
@import "./checkbox-group.css";
@import "./switch.css";
@import "./select.css";
@import "./option.css";
@import "./option-group.css";
@import "./button.css";
@import "./button-group.css";
@import "./table.css";
@ -42,7 +40,6 @@
@import "./notification.css";
@import "./slider.css";
@import "./loading.css";
@import "./icon.css";
@import "./row.css";
@import "./col.css";
@import "./upload.css";