node-glob Questions

4

Solved

Our gulp build takes a bunch of libraries installed with bower, then concatenates them with all the code we have distributed across several directories. Here's what it looks like: var jsFiles = [...
Hanser asked 19/10, 2015 at 7:42

2

Solved

I have a project that looks like this ls foo/ - file0.js - a/file1.js - b/file2.js - c/file3.js - d/file4.js How do I write a glob pattern to exclude the c & d folder but get all other javas...
Bettor asked 12/3, 2015 at 21:9

1

Can anyone please suggest how to add multiple file extensions with the glob.sync method. Something like: const glob = require('glob'); let files = glob.sync(path + '**/*.(html|xhtml)'); Thank y...
Stafani asked 30/3, 2017 at 12:42
1

© 2022 - 2024 — McMap. All rights reserved.