I want to build some of the modules as standalones, but there doesn't seem to be an easy way to do declare standalone names for each bundle; I would like to be able to declare the standalone names in component.json, like
{
"local":["robert","stannis"],
"standalone":{
"robert":"DeadKing",
"stannis":"IncumbentKing"
}
}
so that they can be exported to anywhere.
I realize this is probably not a great pattern to encourage, but it does provide more flexibility, I think.
I want to build some of the modules as standalones, but there doesn't seem to be an easy way to do declare standalone names for each bundle; I would like to be able to declare the standalone names in component.json, like
{ "local":["robert","stannis"], "standalone":{ "robert":"DeadKing", "stannis":"IncumbentKing" } }so that they can be exported to anywhere.
I realize this is probably not a great pattern to encourage, but it does provide more flexibility, I think.