현재 내 CSS, 자바 스크립트 및 이미지 파일을 압축하고 묶는 데 Jawr을 사용하고 있습니다.Jawr이 CSS 파일의 일부분을 처리하는 것을 어떻게 중지합니까?
Jawr은 현재 이미지인지 여부에 관계없이 내 CSS 파일의 url() 링크를 모두 변환하고 있습니다. 예를 들면 :
@font-face {
font-family: 'NothingYouCouldSay';
src: url('../fonts/NothingYouCouldSay.eot') format('eot');
src: local("☺"), url('../fonts/NothingYouCouldSay.woff') format('woff'), url("../fonts/NothingYouCouldSay.otf") format("opentype"), url('../fonts/NothingYouCouldSay.ttf') format('truetype'), url('../fonts/NothingYouCouldSay.svg') format('svg');
font-weight: normal;
font-style: normal;
}
Jawr가 URL의 모든() 값을 변환되지만,
다음 웹 서버가 실행 중일 때 내가 * & .png 형 만 듣고 이미지 서블릿을 구성한으로 자원을 찾을 수 없습니다 * .jpg.
@font-face {
font-family: 'NothingYouCouldSay';
src: url('../../../cb1130234589/resources/fonts/NothingYouCouldSay.eot') format('eot');
src: local("☺"), url('../../../cb1130234589/resources/fonts/NothingYouCouldSay.woff') format('woff'), url("../../../cb1130234589/resources/fonts/NothingYouCouldSay.otf") format("opentype"), url('../../../cb1130234589/resources/fonts/NothingYouCouldSay.ttf') format('truetype'), url('../../../cb1130234589/resources/fonts/NothingYouCouldSay.svg') format('svg');
font-weight: normal;
font-style: normal;
}
* .woff를 이미지 서블릿 매핑에 추가하면 서블릿은 파일의 MIME 유형이 이해되지 않는다고 불평합니다.
Jawr에게 이러한 특정 URL을 처리하지 못하게 할 방법이 있습니까?
난 내 자신의 대답 매우 자기애 적 느낌이 문제! –
감사합니다. 시간을 절약 해주었습니다 :) – uthomas
안녕하세요, jawr에서 이미지 처리를 완전히 제한하는 방법 ...? –