Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add { minified: true } to already minified libraries. #3730

Closed
trackleft opened this issue Sep 17, 2024 · 0 comments · Fixed by #3732
Closed

Add { minified: true } to already minified libraries. #3730

trackleft opened this issue Sep 17, 2024 · 0 comments · Fixed by #3732
Assignees
Labels
bug Something isn't working

Comments

@trackleft
Copy link
Member

According to this comment on https://www.drupal.org/project/drupal/issues/3392103#comment-15261643

Drupal relies on {minified: true } in the library definition to know whether to attempt to minify a library or not.

Our sites may be slow while logged in because javascript is being minified on the fly. We can reduce the amount of time it takes for minification to happen if we mark already minified files as such.

@trackleft trackleft added this to the 2.11.x Patch Release Issues milestone Sep 18, 2024
@trackleft trackleft added the bug Something isn't working label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant