ui5-tooling icon indicating copy to clipboard operation
ui5-tooling copied to clipboard

(self-contained build) Remove unused css styles

Open BenReim opened this issue 6 years ago • 1 comments

Expected Behavior

When analyzing the code coverage (e.g. by Chrome Dev Tools --> Coverage) of an UI5 app that has been bundled by the ui5-tooling / self-contained build, a lot of unused styles can be found that add to the size of a build result. Such styles could be omitted by matching the styles with selectors that are actually used in an app, in a similar way how tools like purgecss work.

Current Behavior

All styles will be part of a self-contained build result.

Affected components

BenReim avatar Feb 15 '19 07:02 BenReim

A little bit related to https://github.com/SAP/ui5-builder/issues/160

RandomByte avatar Feb 22 '19 13:02 RandomByte