Hydrogen Vite url() path not working

Shopify Partner
2 0 0

When using url() in a tailwind config

theme {
  backgroundImage: {
    a: 'url(/myImage.png)',

this is working great in dev. But when deployed with Oxygen it's trying to use the CDN URL (as that is from where the CSS is sourced). Vite should correct this if I understand correctly. I think it's a problem with Oxygen

Replies 0 (0)