tmcw / geojson.net

https://www.placemark.io/
ISC License
150 stars 32 forks source link

Run frontend code without server.js #63

Closed Guttz closed 4 years ago

Guttz commented 4 years ago

I've been attempting to change somethings in the code and while using node server.js building and making modifications take really long(30s) while DEV mode is active.

That said, I'm trying to run the frontend directly with parcel index.html but I'm receiving the following error:

image

Is there a better way to made some modifications to run the project and not wait so long for the builds?

Guttz commented 4 years ago

Found a solution, I had to import "babel-polyfill" in index.js.

See https://github.com/parcel-bundler/parcel/issues/871 for more solutions.