有什么方法可以定義將為symfony/src/mybundle/Resources/public目錄內容生成的輸出文件夾名稱?現在它自動生成web/bundles/mybundlename/css文件夾,但我需要有 web/bundles/customer_name/cssPS:我在谷歌搜索沒有找到任何關于這個的東西......
1 回答

蝴蝶刀刀
TA貢獻1801條經驗 獲得超8個贊
建議使用 Webpack 和 Encore,您可以編輯以下參數:
Encore
// directory where compiled assets will be stored
.setOutputPath('web/bundles/yourcustomname/')
// public path used by the web server to access the output path
.setPublicPath('/yourcustomname')
- 1 回答
- 0 關注
- 123 瀏覽
添加回答
舉報
0/150
提交
取消