Hello. DUB doesn't see sub packages, if I define them in main dub.json like this:
"subPackages": [
"./component1/",
"./component2/"
]
Error executing command build:
Failed to find a package named 'test:blank'.
But it sees them when I define like this:
"subPackages": [
{
"name": "component1",
"targetType": "library",
"sourcePaths": ["component1/source"],
"importPaths": ["component1/source"]
}
]
It used to work (a few moths ago) but not anymore.
My configs:
main dub.json:
"subPackages": [
"./examples/blank/"
],
sub package:
{
"name": "blank",
"targetName": "blank",
"targetType": "executable",
"targetPath": "../../bin",
"sourcePaths": ["./"],
"importPaths": ["./"],
"versions": ["trace"],
"dependencies" : {
}
}