Skip to content

Commit c8bb0d7

Browse files
authored
feat(config): ability to include native source code from any path (NativeScript#10698)
[skip ci]
1 parent 11d5e54 commit c8bb0d7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/core/config/config.interface.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ interface IConfigIOS extends IConfigPlatform {
3939
* List packages to be included in the iOS build.
4040
*/
4141
SPMPackages?: Array<IOSSPMPackage>;
42+
/**
43+
* Include native source code from anywhere
44+
*/
45+
NativeSource?: Array<{
46+
/**
47+
* The folder name which will group these referenced files together in Xcode
48+
*/
49+
name: string;
50+
/**
51+
* The path to the native source code.
52+
* You can also use glob patterns, including directories outside of the project root.
53+
*/
54+
path: string;
55+
}>;
4256
}
4357

4458
interface IConfigVisionOS extends IConfigIOS {}

0 commit comments

Comments
 (0)