azproduction/lmd

Remove strict warnings on dependencies

Closed this issue · 0 comments

Do not warn if dependencies are declaring the module with the same source path as module from parent config.

// .lmd/index.lmd.json
{
    "modules": {
        "jquery": "bower_components/jquery/jquery.js",
        "button": "components/button/button.js",
        ...
    },
    "depends": "*.lmd.json"
}
// components/button/button.lmd.json
{
    "modules": {
        "jquery": "bower_components/jquery/jquery.js",
        ...
    }
}

$ lmd build index will print warning that button is trying overwrite jquery module, but they are the same. LMD should check source of module.