Change record status: 
Project: 
Introduced in branch: 
10.1.x
Introduced in version: 
10.1.0
Description: 

Drupal now minifies JavaScript files on-the-fly when JavaScript aggregation is enabled, using the peast library. This results in a pre-gzipped size reduction of file by up to around 2/3rds. The process removes comments, whitespace, and extra parenthesis, it does not "uglify" or change variable names.

Sites or distributions that are currently using contributed JavaScript minification modules may wish to re-evaluate them against core's aggregation and minification, since some modules may no longer be necessary.

As with previous releases, libraries can specify assets as already minified, by using minified: TRUE in the library definition.

  js: 
    js/already_minified_file.js: { minified: true}  
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Site templates, recipes and distribution developers