1.0.3 • Published 9 years ago

y-u-no-bundle v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

y u no bundle? npm npm

Get a list of driver scripts in your codebase that aren't actually being built/bundled

npm install -g y-u-no-bundle

Usage

var findDriversNotBundled = require('y-u-no-bundle');
var jsRoot = 'path/to/my/javascripts/';
var requireConfig = '/path/to/my/requirejs/build/config/config.json';

findDriversNotBundled(jsRoot, requireConfig, function(stragglers) {
  stragglers.forEach(function(straggler) {
    console.log('sad file: ' + straggler);
  });
});

Or via the shell:

y-u-no-bundle my/js/root my/build/config.json