removing the worker install and changing the browserslist again

This commit is contained in:
csawatzky 2025-05-08 10:56:52 -06:00
parent b0274d203a
commit 328ab53416
3 changed files with 29 additions and 589 deletions

View file

@ -39,9 +39,6 @@ import { MapMouseEvent } from "mapbox-gl";
import { makeStyles } from "@mui/styles";
import { Result } from "@mapbox/mapbox-gl-geocoder";
import mapboxgl from "mapbox-gl";
mapboxgl.workerClass = require('worker-loader!mapbox-gl/dist/mapbox-gl-csp-worker').default;
//const MAPBOX_TOKEN = process.env.REACT_APP_MAPBOX_ACCESS_TOKEN;
const MAPBOX_TOKEN = import.meta.env.VITE_MAPBOX_ACCESS_TOKEN;