.spmrc设置了format后install的组件的依赖路径不正确 #105

Closed
xiegang opened this Issue Nov 29, 2013 · 5 comments

Projects

None yet

2 participants

@xiegang

file .spmrc

[install]
format = {{family}}/{{name}}/{{filename}}

base-debug.js

image

如上图,filename都不正确

spm version 2.2.4

@popomore
Static Package Manager member

看看依赖的 class 和 events 文件

@popomore
Static Package Manager member

猜测:你把 class 和 events 拷贝到相对路径,但源码 require 的时候并不是 ./

@xiegang

@popomore 我是直接spm install arale/base 安装到目录下的代码就是这样的(前提是我配置了format)

@popomore
Static Package Manager member

是个 bug

@popomore popomore closed this Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment