bootstrap-global-this-define.js « javascripts « assets - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
// Set a `globalThis` so that bootstrap components are defined on window.bootstrap instead of window.
window['bootstrap'] = {
"@popperjs/core": window.Popper,
_originalGlobalThis: window['globalThis']
};
window['globalThis'] = window['bootstrap'];