Is there a local directory for nodebb plugins



  • I know plugins are stored in node_modules, but I want to have local plugins that are not linked to npm or whatever like local_modules this is mainly to test my plugins before I put the on my server and to have them seperated from the npm because when I do npm update it clears out my changes. I just want to check if there is already an existing feature if not I will just have to edit the plugin loader every update I guess


  • Community Rep

    Do git init in your plugin's directory. It will create an empty .git directory. When NPM sees that directory, it will stop touching your package.



  • Oh npm does that? Cool, but a local plugins folder would be nice



  • Oh I just realized, I can make a plugin that loads plugins from another directory


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.