Account created on 18 May 2019, over 5 years ago
#

Recent comments

πŸ‡ΊπŸ‡¦Ukraine seonic

admin/config/development/minifyjs
Exclusion list allows to remove directories from scanning.

πŸ‡ΊπŸ‡¦Ukraine seonic

In my opinion, this module still actual. Drupal js minification is slow at this moment, because of unminified core js files and peast(slow but more reliable in comparison to JShrink), and each aggregation minify core's files. And there is no option to disable it, except JSOptimizer override.
Each js aggregated group takes around 1s (in my docker container, JShrink minifies in 0.2s (test with replaced peast to JShrink in JSOptimizer)), I understand that now js files are generated in a separate request and don't reduce a page response time, but sometimes it is visible how page jumps in admin theme before js ready (it's easy to see in views edit page before js cache ready, without jsOptimizer it quick and practically invisible). This module allows to reduce aggregation time removing compression on the fly which reduce visual distortion on cold start.

πŸ‡ΊπŸ‡¦Ukraine seonic

Seonic β†’ created an issue.

πŸ‡ΊπŸ‡¦Ukraine seonic

Thanks all, the patch 4 rises a drupal version to 9.3, because of extension.path.resolver and replaces deprecated methods of scssphp which requires to rise scssphp. I'll apply this changes to a new version 2.x with code refactoring. 1.x still will support 8.8, 9.0, 10.0

file_put_contents($source_file['css_path'], trim($content->getCss())); will brake other compilers, a compiler plugin must returns content as string.
D10 support added to the 1.x version.

Production build 0.71.5 2024