diff --git a/build/bin/get-components.js b/build/bin/get-components.js index 9cc7a71fe..08b3092d7 100644 --- a/build/bin/get-components.js +++ b/build/bin/get-components.js @@ -3,6 +3,6 @@ const path = require('path'); module.exports = function() { const dirs = fs.readdirSync(path.resolve(__dirname, '../../packages')); - const excludes = ['index.js', 'vant-css', 'mixins', 'utils']; + const excludes = ['index.js', 'vant-css', 'mixins', 'utils', '.DS_Store']; return dirs.filter(dirName => excludes.indexOf(dirName) === -1) }