1
我工作的一個現有的項目,我會想知道,轉儲用命令的CSS文件:php app/console assetic:dump --env=prod --no-debug
獲取CSS文件路徑
有沒有辦法知道嗎?我發現了一個輸出:
12:52:11 [file+] /home/MyServer/project/app/../web/compiled/css/b2b7f11.css
12:52:12 [file+] /home/MyServer/project/app/../web/compiled/35563da.js
如果你打開你的Assetic配置,比如'assetic:use_controller:false'不會輸出真實的名字?沒有嘗試過。 –