Skip to content
It builds LMD
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
tasks
test
.gitignore
.travis.yml
AUTHORS
CHANGELOG
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

grunt-lmd Build Status

Build LMD projects.

Migration from grunt 0.3 to 0.4

  • grunt-lmd >= 0.1.6 works with grunt 0.4
  • grunt-lmd <= 0.1.5 works with grunt 0.3

Getting Started

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

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

grunt.loadNpmTasks('grunt-lmd');

See also lmd/examples

Overview

Inside your grunt.js file add a section named lmd. This section specifies LMD build configuration.

Parameters

options [object]

This controls how this task (and its helpers) operate and should contain key:value pairs, see options below.

projectRoot [string]

Relative path to the project root

build string

LMD build name

Options

For a full list of possible options, see LMD project documentation.

Config Example

lmd: {
  build_name: {
   projectRoot: 'test/',
   build: 'test'
  }
}
// project root is current
// with mixins
lmd: {
  build_name: 'test+ru'
}
Something went wrong with that request. Please try again.