-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
refactor: remove file-loader and use asset modules instead #1855
refactor: remove file-loader and use asset modules instead #1855
Conversation
Thanks for opening this pull request!
|
Nice! please let me know when this is ready for review, I think you cannot request a review in the UI yet. And could you please remove the TODOs in the template that do not apply to the PR? So we know whether this is good to go. |
@mtrezza thanks! It is ready for review, just have one question about the PR template: is there anything missing from it or the bot is just looking for those removed checkboxes? |
The bot is complaining about not using the template when delete one or more headings that are in the template. I suggest you keep all headings as they are and just fill out "n/a" is a heading doesn't apply. We will simplify the templates soon. |
@mtrezza somehow the first heading got lost, I added it back, but the bot does not like removed checkboxes at the top so I added back the second checkbox with a link to the PR and now it is fine. |
Well done. Obviously, filling out a template is somewhat tedious, but if 1 author spends 10 seconds more on filling it out, it saves each future reader minutes of time to grasp the issue. It also helps reviewers to faster assess the issue and comment on it, which helps to prevent issues from getting stale. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! You are the king of package slimmers!
🎉 This pull request has been released in version 3.3.0-alpha.5 |
🎉 This change has been released in version 3.3.0-beta.1 |
🎉 This change has been released in version 3.3.0 |
New Pull Request Checklist
Issue Description
A small refactor that replaces
file-loader
with the built-in asset module available in webpack 5.Related issue: #1855
Approach
Removed old
file-loader
and replaced it with asset module.TODOs before merging