Command line module for creating folder with all static assets (models, modules) available for client using
clientRequire
and models
endpoints. Such folder can be served by nginx as a static folder.
This greatly reduce a UnityBase application logs size and speed up static files loading (about 1ms per file)
Command line usage:
ubcli linkStatic -?
Methods
# tryAddModule (modulesPath: string, MPT: string, module: string, commands: array.<object>, target: string) inner
Check module should be exposed and if yes, add command to "to" array