cvalenzuela / Mappa

A canvas wrapper for Maps 🗺 🌍
https://mappa.js.org
359 stars 104 forks source link

package.json "main" incorrect? #3

Closed allonhadaya closed 6 years ago

allonhadaya commented 6 years ago

Hey, what a cool project! I'm really excited to play with it.

package.json:

{
    ...
    "main": "dist/index.js",
    ...
}

but it looks like that file does not exist

> ls node_modules/mappa-mundi/dist
mappa.js  mappa.js.map  mappa.min.js  mappa.min.js.map

Should main be pointing to mappa.js instead, or should an index.js file actually exist?

cvalenzuela commented 6 years ago

nice catch! yes, it should point to mappa.js I'll fix it right away.

Please try it and feel free to submit PR or send me your feedback!

allonhadaya commented 6 years ago

It looks like it's working now. Thanks!