Skip to content
New issue

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

remove ../ in the outputPath, for parent folder's inputs #78

Open
wants to merge 1 commit into
base: 1.0/develop
Choose a base branch
from

Conversation

Jeffersondyj
Copy link

大致需求:整个svn结构如下——
library(放自己写的esui控件、各个util,供各个子项目公用)
子项目1
子项目2
....

到子项目文件夹内,进行edp build时,除了exports.input = __dirname;
有时候还需要引exports.inputs = path.resolve(__dirname, '../library/src')

此时build出来生成的output其他正常,唯独library不在output内,而是和output平级,这不是所预期的。
故考虑加一个开关 needIncludeParent,替换路径的../(可能多个)——让生成的library亦在output内。

之前的build:
output
asset
dep
*.html等等
library

修改后的build:
output
asset
dep
library
*.html等等

@leeight
Copy link
Member

leeight commented Feb 3, 2015

Can one of the admins verify this patch?

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

Successfully merging this pull request may close these issues.

2 participants