Opened 6 years ago
Last modified 3 years ago
#17272 new defect
Dojo build fails with CSS background images that use cache busting
Reported by: | yisuren | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | BuildSystem | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
when I build my dojo project. I got the following message
[exec] error(357) While optimizing a CSS file, it was impossible to compute the destination location of a relative URL. CSS file: /home/media/rtbChart/src/WebContent/src/app/app.css; import: /home/media/rtbChart/src/WebContent/src/app/app1.css; relative URL: url('./themes/klaro/images/loadingAnimation.gif?123')
I have 2 css files app.css and app1.css in app.css , I @import "app1.css" and in app1.css I have a background-image: url("themes/aa/bb/cc?v=1.0.2.0")
if there is no "?v=1.0.2.0" the build will pass but I want browser not to cache my background image, so I need "?v=1.0.2.0"
I think this is a bug. I am using dojo1.8.0, I checkout the dojo1.9 source on github, I found there is no modify to deal with this issue.
Change History (5)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
thank you for the reply the bug indeed happened in 1.8.0 and I will try in 1.9.
comment:3 Changed 4 years ago by
Milestone: | tbd → 1.12 |
---|
comment:4 Changed 4 years ago by
Summary: | dojo build fail → Dojo build fails with CSS background images that use cache busting |
---|
comment:5 Changed 3 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
Hi,
the ticket is registered against 1.9.1, but in your description, you said you are using 1.8.0. Could you clarify which version has the issue ? 1.9 has a fix that should support your urls.