Skip to content

refactor: reuse AssetConditions for banner plugin#8350

Merged
9aoy merged 1 commit intoweb-infra-dev:mainfrom
inottn:refactor/banner
Nov 11, 2024
Merged

refactor: reuse AssetConditions for banner plugin#8350
9aoy merged 1 commit intoweb-infra-dev:mainfrom
inottn:refactor/banner

Conversation

@inottn
Copy link
Copy Markdown
Collaborator

@inottn inottn commented Nov 6, 2024

Summary

The current rule match is async, but it seems unnecessary. We can reuse existing AssetConditions to simplify the existing code.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 6, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 7e7c056
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/672ac8ed9b26c50008a54e8f

Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you complete the PR summary to explain the changes 😄

@inottn
Copy link
Copy Markdown
Collaborator Author

inottn commented Nov 6, 2024

Can you complete the PR summary to explain the changes 😄

I was a bit busy today and forgot to add the summary. I'll add it later. 😄

@chenjiahan chenjiahan requested review from 9aoy and ahabhgk November 10, 2024 07:40
@9aoy 9aoy merged commit c368e8f into web-infra-dev:main Nov 11, 2024
@inottn inottn deleted the refactor/banner branch November 11, 2024 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants