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

12 lines
128 B
JavaScript
Raw Normal View History

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