Problem/Motivation
Theme is loading both CDN libraries, which is causing conflicts with events. I noticed this when debugging why dropdown nav was not working.
Steps to reproduce
Choose the CDN option for loading library. Open a published page and view source files and you'll see both js libraries being served.
Proposed resolution
Remove the unbundled library from the `bootstrap_cdn` library entry.
My local solution:
bootstrap_cdn:
js:
#//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js: { type: external, minified: true }
//cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js: { type: external, minified: true }
css:
component:
//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css: { type: external, minified: true }
Comments
Comment #2
esch commentedHere is a patch.
Comment #4
hatuhay commented