elidoran / cosmos-browserify

Browserify npm modules for client side in Meteor packages
MIT License
78 stars 12 forks source link

No plugin known to handle file 'app.browserify.options.json' #15

Closed ubald closed 9 years ago

ubald commented 9 years ago

Following the example for the use in packages and using meteor devel I get this:

While building package foo:
error: No plugin known to handle file 'foo.browserify.options.json'. If you want this file to be a static asset, pass the {isAsset: true} option to api.addFiles; eg, api.addFiles('foo.browserify.options.json', 'client', {isAsset: true}).
elidoran commented 9 years ago

add the options file using api.addFiles() for client.

I'll update the README. thank you

ubald commented 9 years ago

I'm sorry, I later realized meteor was running with old versions of every package for some reason. It works correctly once the versions are up to date. Thanks though!