Attach the Bootstrap styles library only when necessary

Created on 24 March 2025, 13 days ago

Problem/Motivation

In the current behavior, all Bootstrap libraries (CSS and JS) are attached to the web page in Layout Builder, even when no library is selected. However, to follow best practices and improve performance, it's recommended to remove unnecessary CSS and JS. I have uploaded a patch that ensures only the required library is attached when one of the plugins is used on the page.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇯🇴Jordan Qusai Taha Amman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024