Symfony 3 资源安装包的输出文件夹名称

有什么方法可以定义将为symfony/src/mybundle/Resources/public目录内容生成的输出文件夹名称?

现在它自动生成web/bundles/mybundlename/css文件夹,但我需要有 web/bundles/customer_name/css

PS:我在谷歌搜索没有找到任何关于这个的东西......


Cats萌萌
浏览 107回答 1
1回答

蝴蝶刀刀

建议使用 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')
打开App,查看更多内容
随时随地看视频慕课网APP