After creating a small website using Bootstrap 4.3.1, I realized that the only JavaScript required is for the collapse plugin in the responsive navbar with a toggler button.
Unfortunately, since there is no longer a customizer for Bootstrap 4, I am forced to include jquery-3.3.1.slim.min.js
(69 kiB) and bootstrap.min.js
(57 kiB), resulting in a total download of 126 kiB of JavaScript just for an interactive menu toggle button on small screens.
Is there any way to reduce the file size of JavaScript downloaded by users?