A way to make one script get multiple export names

Just like,

provides {
    'mumble-voip',
    'dumb-voip'
}

helps in “dependency”.

There should be a way to do the same thing with exports.

For example,

I can name a script “script_01”, and add provides as above. And do something like

exports["dumb-voip"]:functionOne()

and it would still allow the export to run on “script_01” script. And not say “dumb-voip not found”.

That helps creators who are selling framework scripts but their customers have different core script names or something.

2 Likes