nativescript-schematics icon indicating copy to clipboard operation
nativescript-schematics copied to clipboard

`add-ns` doesn't exclude web-only components from mobile tsconfig

Open sis0k0 opened this issue 7 years ago • 0 comments

Initally, when adding nativescript to a web project, all components are web-only. They should be excluded from the mobile AoT build. For example: https://github.com/sis0k0/routing-web-mobile/blob/25579ed90439373c418557a65f057fdbf88ad3cc/tsconfig.aot.json#L19

Also, the migrate-component schematic should remove the migrated component from the list of excluded files.

sis0k0 avatar Aug 01 '18 11:08 sis0k0