mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
9 lines
308 B
JavaScript
9 lines
308 B
JavaScript
const fs = require('fs');
|
|
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);
|
|
};
|