[TASK] Adjust CSS compiling to keep breaks in results
Today we are dropping the removal of breaks in compiled CSS. This will hopefully make the need for rebasing of CSS patches less likely and improve the readability of compiled CSS massively and better shows the impact of changes. With the current state of CSS the overall increase of file size will be marginally and not noticeable at all. This is a well thought through tradeoff, that feels more than acceptable. The differences in size are listed below: adminpanel.css - without breaks: 40.3 kB - with breaks: 40.6 kB webfont.css - without breaks: 3.09 kB - with breaks: 3.1 kB backend.css: - without breaks: 380 kb - with breaks: 385 kB dashboard.css: - without breaks: 6.97 kB - with breaks: 7.06 kB dashboard/modal.css - without breaks: 1.21 kB - with breaks: 1.22 kB form.css - without breaks: 28 kB - with breaks: 28.3 kB workspaces.css - without breaks: 3.05 kB - with breaks: 3.09 kB Note: Those files are transferred using compression usually. That means the additional white spaces will be almost eliminated by brotli and colleagues. Resolves: #100529 Releases: main Change-Id: I12c5f018cdd92512127915753a536eb4f41dee0c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78538 Reviewed-by:Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Markus Klein <markus.klein@typo3.org>
Showing
- Build/Gruntfile.js 1 addition, 0 deletionsBuild/Gruntfile.js
- typo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css 219 additions, 1 deletiontypo3/sysext/adminpanel/Resources/Public/Css/adminpanel.css
- typo3/sysext/backend/Resources/Public/Css/backend.css 4158 additions, 4 deletionstypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/Css/webfonts.css 16 additions, 1 deletiontypo3/sysext/backend/Resources/Public/Css/webfonts.css
- typo3/sysext/dashboard/Resources/Public/Css/Modal/style.css 11 additions, 1 deletiontypo3/sysext/dashboard/Resources/Public/Css/Modal/style.css
- typo3/sysext/dashboard/Resources/Public/Css/dashboard.css 92 additions, 1 deletiontypo3/sysext/dashboard/Resources/Public/Css/dashboard.css
- typo3/sysext/form/Resources/Public/Css/form.css 204 additions, 1 deletiontypo3/sysext/form/Resources/Public/Css/form.css
- typo3/sysext/workspaces/Resources/Public/Css/preview.css 38 additions, 1 deletiontypo3/sysext/workspaces/Resources/Public/Css/preview.css
Please register or sign in to comment