nilsnolde / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
170 stars 97 forks source link

added vite #175

Closed sammaji closed 1 year ago

sammaji commented 1 year ago

🛠️ Fixes Issue #171

👨‍💻 Changes proposed

📄 Note to reviewers

📷 Screenshots

sammaji commented 1 year ago

added path aliases for vite

sammaji commented 1 year ago

Fixed parsing error Added @babel/eslint-parser in the .eslintrc.json file

parser parser2
sammaji commented 1 year ago
  1. Vite uses import.meta.env instead of process.env to access environment variables
  2. Only the environment variables starting with VITE_ are exposed.