UNPKG

ice.fo.utils

Version:

13 lines (8 loc) 244 B
import path from 'path'; import glob from 'glob'; import normalizePath from './normalizePath'; export default function scanVueFiles(dir) { dir = normalizePath(dir); const files = glob.sync(path.join(dir, '**/*.vue')); return files; }