To see what will drupalSettings output you can put console log in drupalSettingsLoader.js and this will give you info what is present in drupalSettings
Many popular CMSs, Drupal and Wordpress included, are expanding their API capabilities to allow developers to decouple them to give site owners more flexibility.