Procházet zdrojové kódy

ajuste para carga de componentes dinamicos en produccion

Oscar José Nuñez Chávez před 5 roky
rodič
revize
ac095920ca
2 změnil soubory, kde provedl 6 přidání a 3 odebrání
  1. 1 1
      angular.json
  2. 5 2
      src/polyfills.ts

+ 1 - 1
angular.json

@@ -58,7 +58,7 @@
               "aot": true,
               "extractLicenses": true,
               "vendorChunk": false,
-              "buildOptimizer": true,
+              "buildOptimizer": false,
               "budgets": [
                 {
                   "type": "initial",

+ 5 - 2
src/polyfills.ts

@@ -52,11 +52,14 @@
  *
  */
 
+// Posible fix for dynamic components loader
+
+import "core-js/es/reflect";
+
 /***************************************************************************************************
  * Zone JS is required by default for Angular itself.
  */
-import 'zone.js/dist/zone';  // Included with Angular CLI.
-
+import "zone.js/dist/zone"; // Included with Angular CLI.
 
 /***************************************************************************************************
  * APPLICATION IMPORTS