After fiddling my way with Jest, I've finally managed to deploy the first module to production site with webpack. Not super happy because there are several modules needed to convert, but it's a first step.