From e05a7593d5c7f397016ddbc2d897bba7d79b792a Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Thu, 19 Jun 2025 01:28:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Increased=20budget=20size=20limi?= =?UTF-8?q?ts=20in=20angular.json,=20edited=20the=20index=20path=20in=20ng?= =?UTF-8?q?sw-config.json,=20and=20added=20a=20new=20Vite=20configuration?= =?UTF-8?q?=20file.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- angular.json | 4 ++-- ngsw-config.json | 2 +- vite.config.ts | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 vite.config.ts diff --git a/angular.json b/angular.json index f7104ca..1316bb4 100644 --- a/angular.json +++ b/angular.json @@ -48,8 +48,8 @@ "budgets": [ { "type": "initial", - "maximumWarning": "1MB", - "maximumError": "5MB" + "maximumWarning": "5MB", + "maximumError": "10MB" }, { "type": "anyComponentStyle", diff --git a/ngsw-config.json b/ngsw-config.json index 46918c6..69edd28 100644 --- a/ngsw-config.json +++ b/ngsw-config.json @@ -1,6 +1,6 @@ { "$schema": "./node_modules/@angular/service-worker/config/schema.json", - "index": "/", + "index": "/index.html", "assetGroups": [ { "name": "app", diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..df3172f --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite'; + +export default defineConfig({ + optimizeDeps: { + exclude: ['leaflet.markercluster'], + }, +}); \ No newline at end of file