azproduction / lmd

LMD - JavaScript Module-Assembler for building better web applications :warning: Project is no longer supported :warning:
http://azproduction.ru/lmd/
MIT License
449 stars 27 forks source link

Remove strict warnings on dependencies #165

Closed azproduction closed 10 years ago

azproduction commented 10 years ago

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.