mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
13 lines
280 B
JavaScript
13 lines
280 B
JavaScript
/**
|
|
* Get all of the component mixin paths.
|
|
* @param directory
|
|
* @return {string[]}
|
|
*/
|
|
function getMixins (directory) {
|
|
return fs.readdirSync(directory)
|
|
.filter(file => file !== 'index.js')
|
|
.map(file => path.resolve(directory, file));
|
|
}
|
|
|
|
module.exports = getMixins;
|