closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

Add variable and input map command line arguments.

Open nhelfman opened this issue 1 year ago • 0 comments

The change re-enables existing functionality which has been previously disabled as part of change e17ddd9271874add9608c71dd9d257a5f6e6c085.

The reason to re-enable it at this time is to enable minimal binary compression diff between to build versions. Without using input maps, 2 compilation builds, even when have small changes between them may result with completely different minified file due to renames which occur at different order and pick different rename value. When using input rename maps the resulting minified code remains very similar to minified code from earlier build version.

This is important for adopting Compression Dictionary Transport which greatly benefit from small compressed dictrionary diffs.

The change addresses the ask in #4097

nhelfman avatar Feb 25 '24 09:02 nhelfman