1.0.1 • Published 10 years ago

why-you-no-bundle v1.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

Why you no bundle?

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

npm install -g why-you-no-bundle

Usage

var findDriversNotBundled = require('why-you-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:

why-you-no-bundle my/js/root my/build/config.json