What does $(Platform) mean?

I found many angularjs url is use the $(Platform) ,can you tell me how does it work?

for example

http://localhost:10645/$(Platform)/Scripts/i18n/angular/angular-locale_en.js

image

but some url is http://localhost:10645/dist/app.js
image

Becasuse Virto Commerce Admin Portal SPA built admin UI from modules, SPA uses custom routing to access resources from platform and modules.

$(module.id) - is reserwed keyword which is used to map it to correct module folder on the server side.

image

So, the $(Platform) means routing to resourse from platform\wwwroot\ folder.

The code which are handled all requests like a $(Platform) and Modules/$({ module.ModuleName }) as static files in correspond folder here: