shift73k/assets_old/node_modules/glob-all/example/sync.js

11 lines
128 B
JavaScript

var glob = require('../');
var files = glob.sync([
'files/**',
'!files/x/**',
'files/x/z.txt'
]);
console.log(files);