# container.yaml
# use yaml (bundles down to json)
app.main:
callable: "./main"
arguments:
- "@app.service"
app.service:
class: "./Service"
arguments:
- "Hello World"
// container.js
// use javascript
export default () => {
return {
"app.main": {
"callable": "./main.js",
"arguments":[
"@app.service"
]
},
"app.service": {
"class": "./Service.js",
"arguments": [
"Hello World"
]
}
}
}