Grunt Plugin for WrapUp. Wraps your node modules into web modules.
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 grunt-wrapup --save-dev
In your project's Gruntfile, add a section named
wrapup to the data object
It is required to have those options. The
requires object are all modules
that are required. If it's in the form of
"main.js": true the module is only
required. If the form is like
"prime": "../prime" the module is required but
also a global variable
prime is made.
options object all
wrapup can be used. The
option should be there, otherwise it doesn't do much.