@nativescript/template-drawer-navigation-ng 8.1.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "main": "src/main.ts",
4
4
  "displayName": "Navigation Drawer",
5
5
  "templateType": "App template",
6
- "version": "8.1.0",
6
+ "version": "8.1.1",
7
7
  "description": "Side navigation template",
8
8
  "author": "NativeScript Team <oss@nativescript.org>",
9
9
  "license": "Apache-2.0",
@@ -0,0 +1,20 @@
1
+ /**
2
+ * NativeScript Polyfills
3
+ */
4
+
5
+ // Install @nativescript/core polyfills (XHR, setTimeout, requestAnimationFrame)
6
+ import '@nativescript/core/globals';
7
+ // Install @nativescript/angular specific polyfills
8
+ import '@nativescript/angular/polyfills';
9
+
10
+ /**
11
+ * Zone.js and patches
12
+ */
13
+ // Add pre-zone.js patches needed for the NativeScript platform
14
+ import '@nativescript/zone-js/dist/pre-zone-polyfills';
15
+
16
+ // Zone JS is required by default for Angular itself
17
+ import 'zone.js';
18
+
19
+ // Add NativeScript specific Zone JS patches
20
+ import '@nativescript/zone-js';
package/tsconfig.json CHANGED
@@ -16,6 +16,6 @@
16
16
  }
17
17
  },
18
18
  "include": ["./src/**/*.ios.ts", "./src/**/*.android.ts"],
19
- "files": ["./src/main.ts", "./references.d.ts"],
19
+ "files": ["./src/main.ts", "./references.d.ts", "./src/polyfills.ts"],
20
20
  "exclude": ["node_modules", "platforms"]
21
21
  }