Content-Length: 316925 | pFad | https://github.com/NativeScript/NativeScript/commit/c736f72fce64d53dbdd717fb89e3b4b943b6e5f6

9D feat(config): embed options for existing platform host projects (#10568) · NativeScript/NativeScript@c736f72 · GitHub
Skip to content

Commit c736f72

Browse files
authored
feat(config): embed options for existing platform host projects (#10568)
1 parent 779d792 commit c736f72

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

packages/core/config/config.interface.ts

+26
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,28 @@ interface IConfigHook {
173173
script: string;
174174
}
175175

176+
interface IConfigEmbedProps {
177+
/**
178+
* Relative path to the platform host project directory.
179+
*/
180+
hostProjectPath?: string;
181+
/**
182+
* (Android only) Optional custom module name.
183+
*/
184+
hostProjectModuleName?: string;
185+
}
186+
187+
interface IConfigEmbed extends IConfigEmbedProps {
188+
/**
189+
* iOS specific embed configurations
190+
*/
191+
ios?: IConfigEmbedProps;
192+
/**
193+
* Android specific embed configurations
194+
*/
195+
android?: IConfigEmbedProps;
196+
}
197+
176198
export interface NativeScriptConfig {
177199
/**
178200
* App's bundle id
@@ -202,6 +224,10 @@ export interface NativeScriptConfig {
202224
* You can override that to use a name of your choice by setting this.
203225
*/
204226
projectName?: string;
227+
/**
228+
* For embedding into existing platform host projects.
229+
*/
230+
embed?: IConfigEmbed;
205231
/**
206232
* Custom webpack config path
207233
* The default is `webpack.config.js` in the root however you can use a custom name and place elsewhere.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/commit/c736f72fce64d53dbdd717fb89e3b4b943b6e5f6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy