I tried to implement geojson-vt in my sveltekit project, however, it stopped just when I wanted to load my geojson file.
+page.svelte:
<script>
import geojsonfile from '$lib/some_file.geojson'
console.log(geojsonfile)
</script>
Here I just want to load the file directly, and I get this error SyntaxError: Unexpected token ':', and nothing on console.log (which means it failed to import the file)
I already tested the very same geojson file on the geojson-vt debugger, and it shows no error, so I think it has nothing to do with the geojson file.
What did I do wrong while importing?