Disable accounts-ui at runtime


#1

my meteor app uses a third-party package which in turn includes the packages:
‘accounts-facebook’,
‘accounts-google’,
‘accounts-github’,

I do not want any social login boxes to appear in my application, but I need this third-party plugin.
how can I disable the inclusion of these second level dependencies?

or, in account.ui.config there is a nice option to disable the social buttons in the ui?

Accounts.oauth.unregisterService('facebook');

does’nt work, after this the facebook button remain visible.

thanks!