Skip to content

Commit e46ba21

Browse files
author
VladimirAmiorkov
committed
chore: make nested-router-tab-view example webpack compatible
1 parent 78d9c3a commit e46ba21

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

e2e/nested-router-tab-view/app/app.routing.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { TeamDetailComponent } from "./team/team-detail.component";
99
import { LoginComponent } from "./login/login.component";
1010
import { TabsComponent } from "./tabs/tabs.component";
1111
import { HomeComponent } from "./home/home.component";
12+
import { HomeLazyModule } from "./home-lazy/home-lazy.module";
1213
import { AboutComponent } from "./about/about.component";
1314
import { AboutNestedComponent } from "./about/about-nested.component";
1415

@@ -46,7 +47,7 @@ const routes: Routes = [
4647
},
4748
{
4849
path: "home-lazy",
49-
loadChildren: "./home-lazy/home-lazy.module#HomeLazyModule",
50+
loadChildren: () => HomeLazyModule,
5051
},
5152
{
5253
path: "custom-tabs",

e2e/nested-router-tab-view/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"nativescript": {
77
"id": "org.nativescript.nestedroutertabview",
88
"tns-ios": {
9-
"version": "next"
9+
"version": "6.0.0-2019-06-10-154118-03"
1010
},
1111
"tns-android": {
1212
"version": "next"
@@ -23,6 +23,7 @@
2323
"@angular/platform-browser-dynamic": "8.0.0",
2424
"@angular/router": "8.0.0",
2525
"nativescript-angular": "file:../../nativescript-angular",
26+
"nativescript-dev-webpack": "webpack",
2627
"nativescript-theme-core": "~1.0.4",
2728
"reflect-metadata": "~0.1.8",
2829
"rxjs": "~6.3.3",

e2e/nested-router-tab-view/tsconfig.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"emitDecoratorMetadata": true,
77
"noEmitHelpers": true,
88
"noEmitOnError": true,
9-
"sourceMap": true,
109
"lib": [
1110
"es6",
1211
"dom",
@@ -23,8 +22,16 @@
2322
]
2423
}
2524
},
25+
"include": [
26+
"../../nativescript-angular",
27+
"**/*"
28+
],
2629
"exclude": [
30+
"../../nativescript-angular/node_modules",
31+
"../../nativescript-angular/**/*.d.ts",
2732
"node_modules",
28-
"platforms"
33+
"platforms",
34+
"**/*.aot",
35+
"e2e"
2936
]
3037
}

0 commit comments

Comments
 (0)