-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
My app uses module (master) that depends on 2 other modules (slave1, slave2). What approach should I select?
app/
--- .lmd/
--------- app.lmd.json
--- app.js
modules/
--- master/
------ .lmd/
------------ master.lmd.json
------ master.js
--- slave1/
------ .lmd/
------------ slave1.lmd.json
------ slave1.js
--- slave2/
------ .lmd/
------------ slave2.lmd.json
------ slave2.js
- Looks like master module should be the Bundle, but I want to have it as a part of application but not loaded separately.
- Depends looks like a solution but I can't specify an array of slave1 and slave2
- Mixins work fine to include master.lmd.json into app.lmd.json, but mixins of master do not load
// app.lmd.json
{
...
"mixins": [
"../../master/.lmd/master.lmd.json"
]
}
// master.lmd.json
{
...
"mixins": [
"../../slave1/.lmd/slave1.lmd.json"
"../../slave2/.lmd/slave2.lmd.json"
]
}
Now I use
// app.lmd.json
{
...
"mixins": [
"../../master/.lmd/master.lmd.json"
"../../slave1/.lmd/slave1.lmd.json"
"../../slave2/.lmd/slave2.lmd.json"
]
}
But I prefer to encapsulate configuration of master module in master.lmd.json
What I do wrong?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels