Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebUI: Update several toolchain dependencies to latest versions.
Specifically updating: - svgo: 2.8.0 -> 3.0.2 Includes a fix for [1] which was affecting some SVG files, and has resulted in using 'minifyStyles: false' in tools/resources/svgo.config.js as a workaround, see [2]. - terser: 5.16.2 -> 5.20.0 - rollup: 3.12.0 -> 3.29.4 - eslint: 8.33.0 -> 8.50.0 With the latest version of Rollup, bundled files are unfortunately a bit larger, due to fixing a previous bug [3], which incorrectly only kept the first line of all license header comments. The new behavior is correct, so perhaps we should look into ways of deduplicating license header comments in the future, to further reduce the file size. [1] svg/svgo#1672 [2] https://source.chromium.org/chromium/chromium/src/+/main:tools/resources/svgo.config.js;l=17-18;drc=4046a6ad0dfa25c3ec4ff3a0f2019badcd4ede70 [3] rollup/rollup#4953 Bug: None Change-Id: I08fc9a6ad0cf37e75e0b5e3c4dcc61f4ad555838 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903168 Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Cr-Commit-Position: refs/heads/main@{#1204162}
- Loading branch information