grunt-mdlldr

Makes node modules browser friendly

npm install grunt-mdlldr
8 downloads in the last month

grunt-mdlldr

Makes node modules browser friendly

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-mdlldr

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-mdlldr');

Documentation

adding to modules to your gruntfile:

mdlldr: {
  module1: {
    root: './app/lib',
    src: ['module1.js'],
    dest: './build/module1.js'
  },
  module2: {
    root: './app/lib',
    src: ['module2.js'],
    dest: './build/module2.js',
    overrides: {
      DateZ: 'DateZ',
      underscore: 'underscore'
    }
  }
}

License

Copyright (c) 2012 August Hovland Licensed under the MIT license.

npm loves you