1
我正在那裏搖籃採用資產流水線插件(2.9.1)與在搖籃構建文件以下配置的Grails項目:資產管道縮小增加了問號CSS頭
assets {
minifyJs = true
minifyCss = false
enableGzip = false
//excludes = ['**/w3.css']
}
我使用在w3.css樣式表這開始是這樣的:
/* W3.CSS 1.96 by J.E.Refsnes. Do not remove this line. */
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box- sizing:border-box}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
...etcetera...
但是,當我建立我的項目和資產放在一起我結束了在w3.css的開始一個額外的問號:
?/* W3.CSS 1.96 by J.E.Refsnes. Do not remove this line. */
*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box- sizing:border-box}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
我該如何擺脫這個被添加的問號?這是如何發生的?我已經將資產插件從2.5.0升級到2.9.1。但是這並沒有解決問題。我有什麼監督嗎?這個問號實際上給出了一個問題,因爲webkit邊框元素前面的第一個星號沒有被正確拾取。