Skip to content

Commit dcbb330

Browse files
committed
fix reflect
1 parent 6b10aa0 commit dcbb330

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

src/main-aot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { enableProdMode } from '@angular/core';
55

66
import { AppModule } from './app/app.module';
77
import { environment } from './environments/environment';
8-
import { platformNodeguiStatic } from 'angular-nodegui';
8+
import { platformNodeguiStatic } from '../projects/angular-nodegui/src/lib/platform-static';
99

1010
if (environment.production) {
1111
enableProdMode();

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import '../projects/angular-nodegui/src/lib/reflect';
2+
import 'zone.js/dist/zone-node';
3+
14
import { enableProdMode } from '@angular/core';
25

36
import { AppModule } from './app/app.module';

tsconfig.app.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./dist",
5-
"module": "commonjs",
6-
"paths": {
7-
"angular-nodegui": ["projects/angular-nodegui/src/index.ts"]
8-
}
5+
"module": "commonjs"
96
},
107
"files": ["src/main.ts"],
118
"include": ["src/**/*.ts"],

tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"target": "es2015",
1414
"typeRoots": ["node_modules/@types"],
1515
"types": ["node"],
16-
"lib": ["es2018", "dom"],
17-
"paths": {
18-
"angular-nodegui": ["projects/angular-nodegui/src/index.ts"]
19-
}
16+
"lib": ["es2018", "dom"]
2017
},
2118
"angularCompilerOptions": {
2219
"fullTemplateTypeCheck": true,

0 commit comments

Comments
 (0)