I had the same problem. But instead of modifying jQuery CSS (which may be harmful for future updates ...), I just changed the "imagemin" task in the grunt script (Gruntfile.js) so that the images are copied where they are expected. This is true for any third-party library, while grunt will take care of changing the pattern of images in mini css.
Here is the change I made (note that my jQuery UI theme folder is in the app\styles folder)
Before:
imagemin : { dist : { files : [{ expand : true, cwd : '<%= yeoman.app %>/images', src : '{,*/}*.{png,jpg,jpeg}', dest : '<%= yeoman.dist %>/images' } ] } }
After:
imagemin : { dist : { files : [{ expand : true, cwd : '<%= yeoman.app %>/images', src : '{,*/}*.{png,jpg,jpeg}', dest : '<%= yeoman.dist %>/images' }, { expand : true, flatten : true, cwd : '<%= yeoman.app %>/styles', src : '**/*.{png,jpg,jpeg,gif}', dest : '<%= yeoman.dist %>/styles/images' } ] } }
Hope this helps!
Jacob
source share