You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import a .json file I get a parsed json object (https://bun.sh/guides/runtime/import-json).
However, wenn I import a .geojson file with import myPolygon from './polygon.geojson', I get the expanded path to the file like /Users/foo/project/polygon.geojson.
How do I configure bun to treat .geojson files the same way as .json files?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I import a
.json
file I get a parsed json object (https://bun.sh/guides/runtime/import-json).However, wenn I import a
.geojson
file withimport myPolygon from './polygon.geojson'
, I get the expanded path to the file like/Users/foo/project/polygon.geojson
.How do I configure bun to treat
.geojson
files the same way as.json
files?Beta Was this translation helpful? Give feedback.
All reactions