Skip to content

Commit d87b142

Browse files
committed
fix(AoT): remove imports from nativescript-angular/platform
This should prevent @angular/compiler from bundling when using webpack and ahead-of-time compilation.
1 parent 01a83fc commit d87b142

File tree

46 files changed

+46
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+46
-46
lines changed

app/application-settings/application-settings-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ApplicationSettingsExamplesComponent } from "./application-settings-examples.component";
55
import { ValuesExampleComponent } from "./values/values.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

app/application/application-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ApplicationExamplesComponent } from "./application-examples.component";
55
import { AppCheckingTargetExampleComponent } from "./app-checking-target/app-checking-target.component";
66
import { AppUsingAndroidExampleComponent } from "./app-using-android-specifics/app-using-android-specifics.component";

app/camera/camera-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { CameraExamplesComponent } from "./camera-examples.component";
55
import { UsingCameraExampleComponent } from "./using-camera/using-camera.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

app/color/color-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { NativeScriptFormsModule } from "nativescript-angular/forms";
55
import { ColorExamplesComponent } from "./color-examples.component";
66
import { CreatingColorsExampleComponent } from "./creating-colors/creating-colors.component";

app/common-screens-category/content-screens/content-screens-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ContentScreensExamplesComponent } from "./content-screens-examples.component";
55
import { ContentScrollablePageExampleComponent } from "./content-scrollable/content-scrollable-example.component";
66
import { TitleAndNavButtonModule } from "../../directives/title-and-nav-button.module";

app/common-screens-category/dataentry/extended-dataentry-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedDataEntryExamplesComponent } from "./extended-dataentry-examples.component";
55
import { SignupDataEntryExampleComponent } from "./dataentry-signup/dataentry-signup.component";
66
import { SocialLoginDataEntryExampleComponent } from "./dataentry-sociallogin/dataentry-sociallogin.component";

app/common-screens-category/lists-category/extended-listview-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedListViewExamplesComponent } from "./extended-listview-examples.component";
55
import { CardsListViewExampleComponent } from "./cards/cards-listview.component";
66
import { HeaderWithMapExampleComponent } from "./header-with-map/header-with-map.component";

app/common-screens-category/userprofile/extended-userprofile-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExtendedUserProfileExamplesComponent } from "./extended-userprofile-examples.component";
55
import { UserFeedExampleComponent } from "./user-feed/user-feed.component";
66
import { UserFeedImagesExampleComponent } from "./user-feed-images/user-feed-images.component";

app/connectivity/connectivity-examples.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ConnectivityExamplesComponent } from "./connectivity-examples.component";
55
import { UsingConnectivityExampleComponent } from "./using-connectivity/using-connectivity.component";
66
import { TitleAndNavButtonModule } from "../directives/title-and-nav-button.module";

app/examples-list.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
22
import { NativeScriptRouterModule } from "nativescript-angular/router";
3-
import { NativeScriptModule } from "nativescript-angular/platform";
3+
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
44
import { ExamplesListComponent } from "./examples-list.component";
55
import { TitleAndNavButtonModule } from "./directives/title-and-nav-button.module";
66

0 commit comments

Comments
 (0)