This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 179
构建时如果包含一个模块的多个版本,应给予提醒 #844
Labels
Milestone
Comments
是提醒还是阻止? |
感觉适当的冗余还是可以接受的,尤其是细颗粒的 package 。 |
已经遇到过这种情况,arale有模块依赖 jquery@1.7.2,而我们用的是 jquery@1.8.3。 define('jquery/1.7.2/jquery', [], function(require, exports, module) {
module.exports = require('jquery');
}); |
@airyland 可以试下 build 时 ignore 调 jquery,然后在页面上通过 seajs 设置 alias 指定 jquery 版本。 |
Closed
这个如果提醒的话可以放 spm 做
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
output a 依赖 b 和 c,b 和 c 依赖不同版本的 d 时,d 冗余
The text was updated successfully, but these errors were encountered: