Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了 Assetic 的 CSS 重写问题。在使 URL 正确的意义上,它工作得很好,但是,它也会data:image像这样破坏 URL:
data:image
background: url('data:image/svg+xml;base64,PD94bWw...');
进入:
background: url('../../bundles/proj/css/data:image/svg+xml;base64,PD94bWw...');
有解决方法或解决方法吗?
似乎对此修复有一个拉取请求:https ://github.com/srosato/assetic/commit/1504cc79588acf418ab5d28320174ef15e603f96