simplify build config (#638)

This commit is contained in:
neverland
2018-02-12 15:46:52 +08:00
committed by GitHub
parent 9673da4131
commit e1544fe919
13 changed files with 157 additions and 15758 deletions

View File

@@ -4,5 +4,5 @@ const path = require('path');
module.exports = function() {
const dirs = fs.readdirSync(path.resolve(__dirname, '../../packages'));
const excludes = ['index.js', 'vant-css', 'mixins', 'utils', '.DS_Store'];
return dirs.filter(dirName => excludes.indexOf(dirName) === -1)
}
return dirs.filter(dirName => excludes.indexOf(dirName) === -1);
};