We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 309ed7b commit 2926cfbCopy full SHA for 2926cfb
nativescript-angular/platform.ts
@@ -1,13 +1,15 @@
1
-// Always import platform-common first - because polyfills
+// Always reflect-metadata before @angular/core.
2
+// It's needed to handle __metadata calls inside @angular/core
3
+import "reflect-metadata";
4
+
5
+// Import platform-common immediately after reflect-metadata - because rest of the polyfills.
6
import {
7
NativeScriptPlatformRef,
8
AppOptions,
9
PlatformFactory,
10
COMMON_PROVIDERS
11
} from "./platform-common";
12
-import "reflect-metadata";
-
13
import { NSFileSystem } from "./file-system/ns-file-system";
14
15
0 commit comments