Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

file-info 模块单独提取出来便于扩展依赖使用 #103

Open
wuhy opened this issue Oct 20, 2015 · 1 comment
Open

file-info 模块单独提取出来便于扩展依赖使用 #103

wuhy opened this issue Oct 20, 2015 · 1 comment

Comments

@wuhy
Copy link

wuhy commented Oct 20, 2015

edp build file-info 这个模块目前是内置在 edp build ,这样有个问题,如果想针对 edp build 开发扩展,需要用到 file-info 这个模块,比如 css sprite 需要动态创建图片文件,解决办法要么是把 file-info 拷贝过来,要么是把 edp build 作为依赖引入进来。不管哪种方式,都不大好,最好方式还是是可以单独提取成一个 npm 模块来引入,而且像 gulp 的核心实现基于 vlinyl-fs 也是作为独立模块。

@junmer
Copy link
Contributor

junmer commented Oct 20, 2015

+1
可以放在 ecomfe/edp-core

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants