@v_risalab i figured it out. The acp code uses browserify and the widget code uses webpack!
I know that you can modify email templates in the nodebb admin screen, but I was wondering if there are some templates that I can write on a file, like TPL templates or something like that, so I can track email template file updates, and to avoid having the email template in the database.
@sebastián-cisneros yes, the templates themselves are found in
src/views/emailwhich you can extend from within a theme.
Keep in mind you'll need to reset any overrides you've saved in the ACP before any new email templates will show
@julian Thanks for the help, this is exactly what I was looking for. One more question tho. Where should I place the custom email tpl files?
You can set the templates directory to anything in plugin.json, I think it defaults to just
templatesif you don't specify.
Them you match the path from views, so it would be
templates/emailswhere you put them.