v-mapbox icon indicating copy to clipboard operation
v-mapbox copied to clipboard

[Bug] ReferenceError: _typeof is not defined when moving to `v-mapbox`

Open Maker-Mark opened this issue 4 years ago • 2 comments
trafficstars

When I move from using vue-mapbox to v-mapbox i'm seeing ReferenceError: _typeof is not defined. From doing some googling it looks like an issue where babel is trying to transpile code that is already transpired in v-mapbox. Is there something that I'm missing in the setup that would cause this to only happen with v-mapbox?

Maker-Mark avatar May 21 '21 14:05 Maker-Mark

Are you re–transpiling it in nuxt like some do with their libs like this? https://github.com/sansil/vt-notifications#using-the-library-in-nuxtjs

vinayakkulkarni avatar Jun 22 '21 13:06 vinayakkulkarni

@vinayakkulkarni Hi there! Nope, but I think the issue is with the build process using Parcel 1.x. There are so many parcel 1.x build issues popping up!

Maker-Mark avatar Jun 24 '21 21:06 Maker-Mark