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:
Tim Down
2024-05-03 08:04:07 +00:00
committed by Copybot
parent fb05c0bb82
commit 56150d9dbc
10 changed files with 25 additions and 9 deletions
+2
View File
@@ -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',