I'm not sure if this is a crazy question...
When creating javascript in Moodle, I can do something like...
import {get_string as getString} from core/str;
Now get_string is clearly exported from lib/amd/src/str.js
My question... how does this work? How does the import get "translated" to know where core/str actually lives in the running application? Just curious.