Ver Fonte

increase build budget

tigger há 2 anos atrás
pai
commit
4a72fedf73
4 ficheiros alterados com 7 adições e 6 exclusões
  1. 4 4
      angular.json
  2. 2 2
      src/app/app.config.ts
  3. 1 0
      src/dependencies/tm-ui
  4. BIN
      src/favicon.ico

+ 4 - 4
angular.json

@@ -42,13 +42,13 @@
               "budgets": [
                 {
                   "type": "initial",
-                  "maximumWarning": "500kb",
-                  "maximumError": "1mb"
+                  "maximumWarning": "5000kb",
+                  "maximumError": "6mb"
                 },
                 {
                   "type": "anyComponentStyle",
-                  "maximumWarning": "2kb",
-                  "maximumError": "4kb"
+                  "maximumWarning": "6kb",
+                  "maximumError": "8kb"
                 }
               ],
               "outputHashing": "all"

+ 2 - 2
src/app/app.config.ts

@@ -1,5 +1,5 @@
 import { ApplicationConfig, importProvidersFrom } from '@angular/core';
-import { provideRouter } from '@angular/router';
+import { provideRouter, withHashLocation } from '@angular/router';
 import { routes } from './app.routes';
 import { provideHttpClient } from '@angular/common/http';
 import { BrowserModule } from '@angular/platform-browser';
@@ -9,7 +9,7 @@ import { NgxsStoragePluginModule } from '@ngxs/storage-plugin';
 
 export const appConfig: ApplicationConfig = {
   providers: [
-    provideRouter(routes),
+    provideRouter(routes,withHashLocation()),
     importProvidersFrom(BrowserModule),
     importProvidersFrom(DpModule),
     importProvidersFrom(BrowserAnimationsModule),

+ 1 - 0
src/dependencies/tm-ui

@@ -0,0 +1 @@
+Subproject commit 464715b3fe6021566e5e78efec83fe04eed47e0a

BIN
src/favicon.ico