Any hook to nodebb build to perform custom steps
-
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 usingsed
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. -
If all you need to change is a template file, you can just edit the template file stored in
build/public/templates
in thestatic:app.load
hook. Since templates are compiled on demand, this will work as long as./nodebb build
is run afterwards.
Copyright © 2024 NodeBB | Contributors