Klaro library seems way too large?

Created on 4 December 2024, 3 months ago

Problem/Motivation

Looking at the source code and SEO / performance analysis, I saw that klaro/dist/klaro-no-css.js is way too large:

  • /libraries/klaro/dist/klaro-no-css.js (863,27 kB)
  • /modules/contrib/klaro/js/klaro.drupal.js (25,34 kB)

But the Klaro GitHub page points out:

Small footprint: The minified+gzipped JS is only 37 kB and contains everything that is required, including style sheets and translations.

So seems something is wrong here?

Or maybe I'm missing something or doing something wrong?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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