lmd
Version:
LMD: Lazy Module Declaration
36 lines (29 loc) • 901 B
JSON
{
"name": "bundles - separate parts of project",
"description": "you can split your project into bundles",
"root": "../js",
"output": "../index.js",
"build_id-disclaimer": "build_id is user defined variable",
"build_id": "<%= Math.random().toString(16) %>",
"modules": {
"main": "main.js",
"template": "template.html",
"bundle-button": "@index.button.js?<%= build_id %>",
"bundle-textarea": "@index.textarea.js?<%= build_id %>"
},
"bundles": {
"button": {
"modules": {
"main": "button/main.js",
"buttonTemplate": "button/template.html",
"buttonView": "button/view.js"
}
},
"textarea": "textarea-bundle.lmd.json"
},
"main": "main",
"optimize": true,
"shortcuts": true,
"promise": "$.Deferred",
"ie": false
}