Ajoutez un script au webpack de Discourse

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