This commit is contained in:
Logan
2026-04-06 02:45:18 -04:00
parent 636a847ee1
commit 8c0bcd60c9
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -2,6 +2,8 @@
@tailwind components;
@tailwind utilities;
@import 'leaflet/dist/leaflet.css';
html, body {
@apply bg-gray-950 text-gray-100 font-mono;
}
-2
View File
@@ -4,8 +4,6 @@ import { useEffect } from "react";
import { MapContainer, TileLayer, Marker, Popup, useMap } from "react-leaflet";
import L from "leaflet";
import type { NodeRecord, CallRecord } from "@/lib/types";
import "leaflet/dist/leaflet.css";
// Fix Leaflet default icon paths broken by webpack
delete (L.Icon.Default.prototype as unknown as Record<string, unknown>)._getIconUrl;
L.Icon.Default.mergeOptions({
+1
View File
@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
transpilePackages: ["leaflet", "react-leaflet"],
};
export default nextConfig;