Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular-devkit/build-angular): disable parsing new URL syntax #22402

Merged
merged 1 commit into from
Jan 16, 2022
Merged

fix(@angular-devkit/build-angular): disable parsing new URL syntax #22402

merged 1 commit into from
Jan 16, 2022

Conversation

alan-agius4
Copy link
Collaborator

When web-workers are enabled we allowing parsing new URL syntax which has the side-effect that Webpack will treat all assets as asset modules (https://webpack.js.org/guides/asset-modules/#url-assets). With this change we remove this inconsistency by disabling the url parsing which doesn't effect new Worker(new URL(...)).

When web-workers are enabled we allowing parsing `new URL` syntax which has the side-effect that Webpack will treat all assets as asset modules (https://webpack.js.org/guides/asset-modules/#url-assets). With this change we remove this inconsistency by disabling the `url` parsing which doesn't effect `new Worker(new URL(...))`.
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release needs: discussion On the agenda for team meeting to determine next steps labels Dec 17, 2021
@hiepxanh
Copy link
Contributor

hope this will be merge soon, I'm stuck after update new version :D

@alan-agius4 alan-agius4 requested review from dgp1130 and removed request for clydin January 13, 2022 18:36
@alan-agius4 alan-agius4 removed the needs: discussion On the agenda for team meeting to determine next steps label Jan 13, 2022
@alan-agius4 alan-agius4 requested review from dgp1130 and removed request for dgp1130 January 14, 2022 14:22
@dgp1130 dgp1130 added the action: merge The PR is ready for merge by the caretaker label Jan 14, 2022
@filipesilva filipesilva merged commit a0784bd into angular:master Jan 16, 2022
@alan-agius4 alan-agius4 deleted the url-parsing-disable branch January 17, 2022 05:55
@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 Feb 17, 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.

None yet

4 participants