Skip to content

Conversation

@SmallAiTT
Copy link
Contributor

Abandon jsList in project.json, instead, use userModules.

For example:

+framework
    +userModule1
        -moduleConfig.json
+lib
    +userModule2
        -moduleConfig.json
+src
    -moduleConfig.json

-project.json

framework/userModule1/moduleConfig.json and lib/userModule2/moduleConfig.json and src/moduleConfig.json:

{
    module : {
        "sub1" : ["a.js", "b.js"],
        "sub2":["c.js","d.js"],
        "default":["sub1","sub2"]
    }
}

project.json:

"userModules" : [
    {"framework/userModule1":["sub1"]},
    {"lib/userModule1":["default"]},
    "src"
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant