remove ../ in the outputPath, for parent folder's inputs#78
Open
Jeffersondyj wants to merge 1 commit intoecomfe:1.0/developfrom
Open
remove ../ in the outputPath, for parent folder's inputs#78Jeffersondyj wants to merge 1 commit intoecomfe:1.0/developfrom
Jeffersondyj wants to merge 1 commit intoecomfe:1.0/developfrom
Conversation
Member
|
Can one of the admins verify this patch? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
大致需求:整个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等等