-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter data from other platforms (#912)
* Filter data from other platforms When the parameter target has a value, all files will be filtered based on the target value. All file directories are in the target, but directories with different values from the target will be excluded from this packaging. For example: ui |-style |- linux-x64 | |- default.css |- win32-x64 |- default.css When using vsce package - t win32-x64 for packaging, the linux-x64 directory will not be packaged into the program。 当参数 target 有值时,会根据target值过滤所有文件,所有文件目录在Target中,但时和target值不相同的目录,将会再本次打包中排除 。 如果: ui |-style |- linux-x64 | |- default.css |- win32-x64 |- default.css 在使用vsce package -t win32-x64 进行打包时,linux-x64目录将不会打包到程序里 * Add target and ignoreOtherTargetFolders options --------- Co-authored-by: 曾洪亮 <[email protected]> Co-authored-by: João Moreno <[email protected]>
- Loading branch information
1 parent
3e8410b
commit 160d0e0
Showing
15 changed files
with
97 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "target", | ||
"publisher": "joaomoreno", | ||
"version": "1.0.0", | ||
"engines": { "vscode": "*" } | ||
} |
Empty file.
Empty file.
This file contains 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