shripalsoni04 / nativescript-geofire-plugin

A GeoFire plugin for nativescript for location based queries in realtime using Firebase.
MIT License
8 stars 3 forks source link

Webpack build fails due to package.json entry #2

Closed kilka closed 7 years ago

kilka commented 7 years ago

This plugin causes webpack builds to fail because it cannot find the plugin. This can be resolved by removing the ".js" from the package name in package.json

Change "main": "nativescript-geofire.js", To "main": "nativescript-geofire",

Relevant section from the Nativescript site:

http://docs.nativescript.org/angular/tooling/bundling-with-webpack.html#recommendations-for-plugin-authors

shripalsoni04 commented 7 years ago

Thanks @kilka for reporting this issue.

I have resolved it and the fix is available at 1.0.5.