Any hook to nodebb build to perform custom steps


  • Anime Lovers

    Is there any hook to perform custom steps, I need to change some text in .tpl file. I am using sed command to perform replacement, this step need to be placed before "nodebb build", and another replacement using sed need to be placed after "nodebb build". So I need the hooks, or is there any way to modify source code to get the same results? Thanks in advance.


  • Global Moderator

    If all you need to change is a template file, you can just edit the template file stored in build/public/templates in the static:app.load hook. Since templates are compiled on demand, this will work as long as ./nodebb build is run afterwards.


Log in to reply
 


Star

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