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

Move images out of webpack #13118

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dacook
Copy link
Member

@dacook dacook commented Feb 3, 2025

What? Why?

As Maikel suggested:

I think we shouldn't need images to be loaded by webpack. This will simplify the transition away from webpack.

I also tried to move the fonts but got stuck.

I have to confess I don't think I fully understood how it all hooks together, but it seems to be working!

What should we test?

This reverts some of #7784

So similar to that, test that images load, on some shop and admin screens.

I've checked this on au_staging.

@dacook

This comment was marked as outdated.

Webpacker still needs to know about them in order to build links.
png sprites? That was a flashback..
@sigmundpetersen

This comment was marked as resolved.

@dacook

This comment was marked as resolved.

@dacook dacook force-pushed the 10298-move-images-out-of-webpacker branch from 3c17296 to 4ee35fc Compare February 3, 2025 23:19
@dacook dacook added the pr-staged-au staging.openfoodnetwork.org.au label Feb 3, 2025
@dacook dacook marked this pull request as ready for review February 3, 2025 23:55
@dacook dacook added technical changes only These pull requests do not contain user facing changes and are grouped in release notes and removed pr-staged-au staging.openfoodnetwork.org.au labels Feb 3, 2025
@dacook dacook changed the title 10298 move images out of webpacker Move images out of webpack Feb 4, 2025
Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

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

Excellent! I just found one typo.

= render partial: 'spree/admin/shared/configuration_menu'
dmin= render partial: 'spree/admin/shared/configuration_menu'
Copy link
Member

Choose a reason for hiding this comment

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

This looks like a typo.

Copy link
Member Author

Choose a reason for hiding this comment

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

😱
And the specs didn't cover it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical changes only These pull requests do not contain user facing changes and are grouped in release notes
Projects
Status: In Progress ⚙
Development

Successfully merging this pull request may close these issues.

3 participants