parcel-plugin-custom-dist-structure: The image path in css doesn't replaced

// css/style.css
background:url(/my_prize.1b440f9c.png);background-size:contain}

Actually my_prize.1b440f9c.png is in /images/my_prize.1b440f9c.png, this is not a right path.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (10 by maintainers)

Most upvoted comments

Alright, I was able to identify the issue. This happens only for CSS imports inside JS that reference external files (i.e. images). Stay tuned, the fix is coming!

@AndreaBaccolini @hrahimi270 @deivuss331 v1.1.17 has been released after so much time haha. Thank you all for being patient. I have tested it with some of the repos in the linked issue and it seems the linking works correctly now.

Closing this now, but feel free to reopen if it does occur again!

Sorry, everyone! I’ve been busy for the past few weeks. Hopefully, I’ll be able to get on this soon.