Have ideas to improve npm?Join in the discussion! »

    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
    

    Install

    npm i y-u-no-bundle

    DownloadsWeekly Downloads

    3

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar