Use webpack bundling in the server and giving code files to download

Hi guys,
I wonder if it is possible to generate a script in a meteor backend with webpack? How would you implement it?