mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-26 03:01:51 +08:00
feat(webpack): read nativescript.config.ts main if set before fallback to package.json (#9769)
implements #9658 BREAKING CHANGES: Possibly breaking if a project has a main field set in the nativescript.config.ts - since after this lands, this value will be used instead of package.json main. The impact is likely very small, the steps to migrate: (Option A) remove main from nativescript.config.ts if set (Option B) update main to the correct path in nativescript.config.ts if set incorrectly
This commit is contained in:
@ -147,7 +147,7 @@ export interface NativeScriptConfig {
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* App's main entry file (currently ignored - set it in package.json main field)
|
||||
* App's main entry file - this setting overrides the value set in package.json
|
||||
*/
|
||||
main?: string;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user