From 41deeb2543b196db9e7338d2c26c8deafaab1473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=BDdila?= Date: Fri, 10 May 2024 11:32:48 +0200 Subject: [PATCH] added support for leaflet 1.7 (#29) fixes #27 --- package-lock.json | 2 +- package.json | 2 +- vite.config.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5a0592c..a89e47e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,7 @@ }, "peerDependencies": { "@maptiler/sdk": "^1", - "leaflet": "^1.9 || ^1.8", + "leaflet": "^1.9 || ^1.8 || ^1.7", "maplibre-gl": "^2 || ^3 || ^4", "ol": "^7.5.2", "react": "^17 || ^18", diff --git a/package.json b/package.json index e60c7d7..3b69070 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ }, "peerDependencies": { "@maptiler/sdk": "^1", - "leaflet": "^1.9 || ^1.8", + "leaflet": "^1.9 || ^1.8 || ^1.7", "maplibre-gl": "^2 || ^3 || ^4", "ol": "^7.5.2", "react": "^17 || ^18", diff --git a/vite.config.ts b/vite.config.ts index a29cf95..2eb5602 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -93,7 +93,6 @@ export default defineConfig({ globals: { "@maptiler/sdk": "maptilersdk", "maplibre-gl": "maplibregl", - leaflet: "leaflet", react: "React", "react-dom": "ReactDOM", },