You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NS7 projects the configs are all consolidated into a single nativescript.config.ts per default also in NS-only projects. Therefore the ng-CLI generates shared files in NS7 projects:
$ ng g m test
CREATE src/app/test/test.module.ts (190 bytes)
CREATE src/app/test/test.module.tns.ts (269 bytes)
CREATE src/app/test/test.common.ts (177 bytes)
Expected behavior
The isWeb method should check the shared attribute of the NativeScriptConfig in NS7 projects.
The text was updated successfully, but these errors were encountered:
Environment
OS: win32 x64
Node: 12.18.2
NativeScript: 7.0.11
Angular CLI: 11.0.5
Describe the bug
The
isWeb
method returns true if there is a nativescript.config.ts file:nativescript-schematics/src/generate/utils.ts
Line 33 in c087d48
In NS7 projects the configs are all consolidated into a single nativescript.config.ts per default also in NS-only projects. Therefore the ng-CLI generates shared files in NS7 projects:
Expected behavior
The
isWeb
method should check the shared attribute of theNativeScriptConfig
in NS7 projects.The text was updated successfully, but these errors were encountered: