Adicione um script ao webpack do Discourse

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