Aggiungi uno script al webpack di Discourse

Is there a guide for this? Haven’t tried that before.