components icon indicating copy to clipboard operation
components copied to clipboard

ng-update: consult workspace configuration for determining global stylesheets

Open devversion opened this issue 4 years ago • 1 comments

This is a port of COMP-280 and for just for tracking at this point!

Currently, ng-update always finds global/external stylesheets that need to be migrated by simply querying for .css or .scss files in the workspace tree.

This is not ideal since it can mean that non-project files are accidentally migrated. Ideally, we'd just consult the angular.json file to look for styles. This makes the logic more future-proof (and avoids issues as in: #18434).

devversion avatar Nov 29 '21 17:11 devversion

I’ve opened a PR that addresses this issue: #32281

alessiopelliccione avatar Nov 11 '25 15:11 alessiopelliccione