Skip to content

Commit 3672e8e

Browse files
chore(*): Update to Angular CLI v8
1 parent da56bdb commit 3672e8e

File tree

4 files changed

+592
-1058
lines changed

4 files changed

+592
-1058
lines changed

app/angularModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { PrefsModule } from './prefs/prefs.module';
1212
export const contactsFutureState: NgHybridStateDeclaration = {
1313
name: 'contacts.**',
1414
url: '/contacts',
15-
loadChildren: './contacts/contacts.module#ContactsModule',
15+
loadChildren: () => import('./contacts/contacts.module').then(m => m.ContactsModule),
1616
};
1717

1818
export function getDialogService($injector) {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"@angular/compiler-cli": "^8.0.2",
2929
"@angular/core": "^8.0.2",
3030
"@angular/forms": "^8.0.2",
31-
"@angular/http": "^7.2.4",
3231
"@angular/platform-browser": "^8.0.2",
3332
"@angular/platform-browser-dynamic": "^8.0.2",
3433
"@angular/router": "^8.0.2",
@@ -39,14 +38,15 @@
3938
"rxjs": "^6.5.2",
4039
"rxjs-compat": "^6.5.2",
4140
"tslib": "^1.10.0",
42-
"zone.js": "^0.9.1"
41+
"zone.js": "~0.9.1"
4342
},
4443
"devDependencies": {
45-
"@angular-devkit/build-angular": "~0.13.9",
46-
"@angular/cli": "^7.3.9",
44+
"@angular-devkit/build-angular": "~0.800.0",
45+
"@angular/cli": "^8.0.4",
4746
"@ngtools/webpack": "^8.0.4",
4847
"@types/angular": "^1.6.54",
4948
"@uirouter/cypress-runner": "^1.0.10",
49+
"codelyzer": "^5.0.1",
5050
"shx": "^0.3.2",
5151
"source-map-loader": "^0.2.4",
5252
"typescript": "3.4.5",

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
"app/contacts/contacts.module.ts"
55
],
66
"compilerOptions": {
7+
"downlevelIteration": true,
78
"emitDecoratorMetadata": true,
89
"experimentalDecorators": true,
910
"importHelpers": true,
10-
"module": "commonjs",
11+
"module": "esnext",
1112
"moduleResolution": "node",
12-
"target": "es5",
13+
"target": "es2015",
1314
"outDir": "transpiled/app",
1415
"declaration": false,
1516
"sourceMap": true,

0 commit comments

Comments
 (0)