fix: correct npm package name to leaflet.gridlayer.googlemutant
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
} from "react-leaflet";
|
||||
import { createLayerComponent } from "@react-leaflet/core";
|
||||
import L from "leaflet";
|
||||
import "leaflet-google-mutant";
|
||||
import "leaflet.gridlayer.googlemutant";
|
||||
import type { CallRecord, IncidentRecord, NodeRecord } from "@/lib/types";
|
||||
|
||||
// ── Leaflet icon fix ──────────────────────────────────────────────────────────
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
transpilePackages: ["leaflet", "react-leaflet", "leaflet-google-mutant"],
|
||||
transpilePackages: ["leaflet", "react-leaflet", "leaflet.gridlayer.googlemutant"],
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"react-dom": "^18.3.0",
|
||||
"firebase": "^10.12.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"leaflet-google-mutant": "0.16.0",
|
||||
"leaflet.gridlayer.googlemutant": "0.16.0",
|
||||
"react-leaflet": "^4.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user