Sorry, this was thrown together as fast as possible. I'll update it to use browserify object and not command line, and better exclusion of other libraries.
An automation tool for building modules with browserify
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install manifest.json --save-dev
Mission Statement: To create a reliable, fast build process with low overhead and maintenance.
Note, please use relative pathing within the Manifest.JSON file and within grunt.
"requires":"core.js:core""../components/jquery/jquery.min.js:jquery""lodash""q""ignores":"excludes":"entry": "core.js""bundle": "js-core.js"
distThe none-required distribution folder to put the bundle. Will work in conjuction with
cwdThe current working directory all of these files should be considered relative from. This does not apply to the Manifest.JSON files
allWill compile every
manifestFileThe name of the manifest file. Default:
requiresAn array of files to be exposed for other bundles (aka externalize). A
:can be used to give the require an easier name.
externalsWill be treated as externals and not included within the source bundle.
externalFoldersWill find every
bundleThe name of the bundle to compile to
entryThe file(s) (String or Array) of entry points.