Ionic upload doesn't upload background image

I have an ionic app, which uses a background image with css. It works locally, but when I do an ionic upload, it doesn’t show the background image. I suspect it doesn’t upload it to start with.
How to fix this?