从所有Symfony版本中删除AsseticBundle [英] AsseticBundle removed from all the Symfony's versions

查看:96
本文介绍了从所有Symfony版本中删除AsseticBundle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道为什么从所有Symfony版本中删除了 AsseticBundle

I wanted to know why AsseticBundle has been removed from all the versions of Symfony.

我到处都是,却找不到

最初,我以为他们删除了此捆绑包,因为存在一个安全漏洞,需要几天的时间才能修复。

Initially, I thought they deleted this Bundle because there is a security flaw that will take a few days to be repaired.

此捆绑包对于从外部文件夹中包含javascript和css文件类型是必不可少的,我想确定是否将此捆绑包替换为Symfony或I中的另一个应该手动添加此捆绑包。

This Bundle is indisponsable for including javascript and css file type from an external folder and I wanted to be sure if this Bundle wille be replaced by an another in Symfony or I should add this Bundle manually.

谢谢

推荐答案

AsseticBundle是与新版本的框架(2.8 / 3.x)不兼容/维护。

The AsseticBundle is not compatible/maintained with the new version of the framework (2.8/3.x).

请参阅Fabpot的推文,询问:诚实的问题:#Assetic是否仍与#Symfony 3.0相关?

See the tweet of Fabpot that asking: Honest question: is #Assetic still relevant for #Symfony 3.0?

一个d PR 删除AsseticBundle (您可以找到有关删除的赞成和反对意见。

And the PR remove AsseticBundle (you can find good discussion about for and against the removal of Assetic).

也可以在 Symfony和资产管理可以澄清和消除周围的所有讨论。

Check also this great article on Symfony and Asset Management that clarify and riassume all the discussion around.

希望获得帮助

这篇关于从所有Symfony版本中删除AsseticBundle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆