y-u-no-bundle

1.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i y-u-no-bundle

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • mrjoelkemp
  • aintaer
  • mikesherov
  • attamusc