air-drop
air-drop copied to clipboard
Glob wildcards don't seem to work
Here's my sample code: var packagedFrontend = airDrop('/frontend.js').include('frontend/*/.js');
This throws an error:
/node_modules/air-drop/lib/air-drop.js:46 if (err) throw err; ^ Path Not Found: node_modules/underscore/index
Try this:
var packagedFrontend = airDrop('/frontend.js').include(__dirname + '/frontend/**/*.js');
You may have to update the path, but the important part is to use ** for wildcard directories and *.js for wildcard filenames.