]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/environments/environment.ts
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / environments / environment.ts
index 364da6745c9ac1d1a1e55ac135c0f11923ad3d97..b6bc784b53cbc8aaa99503aa732a38e2f9fe9b80 100644 (file)
@@ -2,8 +2,14 @@
 // `ng build --env=prod` then `environment.prod.ts` will be used instead.
 // The list of which env maps to which file can be found in `.angular-cli.json`.
 
+// Reflect.metadata polyfill is only needed in the JIT/dev mode.
+//
+// In order to load these polyfills early enough (before app code), polyfill.ts imports this file to
+// to change the order in the final bundle.
+import 'core-js/features/reflect'
+
 export const environment = {
   production: false,
-  hmr: true,
+  hmr: false,
   apiUrl: 'http://localhost:9000'
 }