Load correct JS for the active Bootstrap version (#18120)
* Load correct JS for the active Bootstrap version * Tidy up bootstrapVersion declaration * Add Bootstrap JS to website redesign layout * FIx error on interstitial subscriptions page * Remove unnecessary import of jQuery and Bootstrap * Use global entrypointScripts in bootstrap-js mixin GitOrigin-RevId: 6b1977354a72dc69008fc0d2e3baec2f28d97f6b
This commit is contained in:
@@ -17,6 +17,8 @@ invalidateBabelCacheIfNeeded()
|
||||
// Generate a hash of entry points, including modules
|
||||
const entryPoints = {
|
||||
tracing: './frontend/js/tracing.js',
|
||||
'bootstrap-3': './frontend/js/bootstrap-3.ts',
|
||||
'bootstrap-5': './frontend/js/bootstrap-5.ts',
|
||||
devToolbar: './frontend/js/dev-toolbar.js',
|
||||
main: './frontend/js/main.js',
|
||||
ide: './frontend/js/ide.js',
|
||||
|
||||
Reference in New Issue
Block a user