We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前发现的是在er@3.1.0-rc.2的Deferred.js里面使用了mini-event中EventTarget的enable静态方法,但是这个静态方法在mini-event@2.0.1中去掉了。
er@3.1.0-rc.2
mini-event@2.0.1
The text was updated successfully, but these errors were encountered:
详细说明一下这个问题
er在package.json中声明的mini-event的版本是1.x,而去除enable方法是在2.x中进行的,如果严格遵守依赖版本限制,是不会出这事的
package.json
mini-event
1.x
enable
2.x
与 @yibuyisheng 聊了一下,具体原因是使用了emc,而emc依赖的是2.x,因此导致整个版本被提升了
这个问题的本质是我们的edp没能做同库多版本的管理和require.config#map的配置管理,这个问题不知道 @leeight 是不是有啥想法,或者其实已经支持了
require.config#map
为了解决这一问题,我会做几个临时方案:
Deferred
EventTarget
require
.default
interopRequireDefault
Sorry, something went wrong.
请试用3.1.1
4.x版本暂时pending,后续根据yami库的进度考虑
好的,感谢 @otakustay 大神!
No branches or pull requests
目前发现的是在
er@3.1.0-rc.2
的Deferred.js里面使用了mini-event中EventTarget的enable静态方法,但是这个静态方法在mini-event@2.0.1
中去掉了。The text was updated successfully, but these errors were encountered: