-
Notifications
You must be signed in to change notification settings - Fork 339
Usemin fails to update CSS image paths correctly. #368
Comments
I came across the same issue and I fixed it by making sure usemin referenced the proper css file(s).
|
The project is generated with |
I'm running into the same issue, also using |
Yep, when you use the |
Still have this problem, I created stackoverflow question Only the solution worked for me see in this commit
So after useminPrepare it adds these options to generated cssmin tasks, but the problem returns if you try to build css in subfolder (). |
I was able to read rewritten css assets from |
@SpeedShifter thank you for setting a repo. I've started to look but need to play with your project. |
Hi guys,
I've installed yeoman and I've used angular-generator to create a project. Inside the project I've added
background-image: url("../images/yeoman.png");
to one of the CSS selectors.After running
grunt build
thedist
built CSS file has the following path:background-image:url(/Users/lucian/Projects/yeomantest2/.tmp/images/yeoman.png);
. I also tried disablingrev
inside thebuild
task but the result is the same.I'm running into this issue on MacOS 10.9.2 and I ran
sudo npm update -g
to make sure all node modules are up to date.Please let me know if there's anything I can help you with.
The text was updated successfully, but these errors were encountered: