Using Bower instead of npm might be another route to explore. Either way I think pre-building your js is the best option
On Wed, Jul 3, 2013 at 11:15 AM, Don Coleman <[email protected]> wrote: > The code runs on a phone. https://github.com/don/phonegap-nfc > > I've moved some of the javascript from my cordova plugin into a node module > so I could re-use it in other projects. I haven't integrated the node > module back into the plugin *yet*. > > I'm hoping I can do this without making the plugin more difficult to > install. > > > > On Wed, Jul 3, 2013 at 9:59 AM, Bryan Bishop <[email protected]> wrote: > > > On Tue, Jul 2, 2013 at 5:53 PM, Don Coleman <[email protected]> > wrote: > > > >> I ripped a bunch of Javascript code out of my Cordova NFC plugin and > >> created a NPM so I could reuse the code elsewhere. > >> > > > > Is this something that runs on a phone? Does this mean you're running > your > > node module through browserify first? > > > > - Bryan > > http://heybryan.org/ > > 1 512 203 0507 >
