Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Nov 23, 2022

When rebasing URLs found within Sass files (sass/scss), the previous regular expression based searching has been replaced with a lexer that scans the Sass files for CSS url() functions and extracts URL values. This change allows for more accurate discovery of URLs as well as reducing the amount of content traversals per file. The lexer logic is based on CSS Syntax Module Level 3 (https://www.w3.org/TR/css-syntax-3/).

(cherry picked from commit 84dc05d)

…Sass URLs

When rebasing URLs found within Sass files (sass/scss), the previous regular expression
based searching has been replaced with a lexer that scans the Sass files for CSS url()
functions and extracts URL values. This change allows for more accurate discovery of
URLs as well as reducing the amount of content traversals per file. The lexer logic
is based on CSS Syntax Module Level 3 (https://www.w3.org/TR/css-syntax-3/).

(cherry picked from commit 84dc05d)
@clydin clydin added the target: patch This PR is targeted for the next patch release label Nov 23, 2022
@clydin clydin requested a review from alan-agius4 November 23, 2022 13:39
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Nov 23, 2022
@angular-robot angular-robot bot merged commit 2220a90 into angular:15.0.x Nov 23, 2022
@clydin clydin deleted the esbuild/sass-urls-15.0.x branch November 23, 2022 13:48
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants