ASP.NET MVC 4 Minification & Background Images

后端 未结 2 1788
温柔的废话
温柔的废话 2021-01-12 03:07

I\'m currently using ASP.NET MVC 4 CSS/JavaScript Optimizer. It works good with my own CSS/JavaScript, but I also want to use it with plugins. Each plugin has its own folder

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-12 03:44

    Might have a look at RequestReduce. It's another .net based minifier/bundler and it will rewrite all urls in the minified/bundled css to be absolute. This includes fonts and background images. It will also automatically expand any imports in the css. Additionally, where it thinks it can, it will sprite the background images.

提交回复
热议问题