Have a look here to create your custom UI resources module based on Atlas UI Resources:
https://docs.mendix.com/howto/front-end/create-company-atlas-ui-resources
https://docs.mendix.com/howto/front-end/share-company-atlas-ui-resources
This way you publish a UI resource package rather than just a module.