The non-minified js is loaded in libraries.yml

The js is marked as already minified but the file is not the minified one.

bootstrap4-js-latest:
  version: 4.6.2
  js:
    dist/bootstrap/4.6.2/dist/js/bootstrap.bundle.js: { minified: true }
  dependencies:
    - core/jquery

Proposed resolution

Use the minified one instead

bootstrap4-js-latest:
  version: 4.6.2
  js:
    dist/bootstrap/4.6.2/dist/js/bootstrap.bundle.min.js: { minified: true }
  dependencies:
    - core/jquery

Issue fork bootstrap4-3498189

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rmnvalette created an issue. See original summary.

deepali sardana made their first commit to this issue’s fork.

deepali sardana’s picture

Status: Active » Needs review

vladimiraus changed the visibility of the branch 3498189-use-minified-js to hidden.

vladimiraus’s picture

Version: 3.0.5 » 3.0.x-dev
Status: Needs review » Reviewed & tested by the community
vladimiraus’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for your contribution. 🍻
Released.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.