How to properly serve assets when creating a custom dash component?

I am making a custom Dash component, which uses some CSS and images (png). I use Dash boilerplate code. I added file loader to Webpack config, so my images made it to the final package.
However, Dash serves images only if they are found inassets folder. It is fine while I am developing the component, but I am thinking about the time when I will going to distribute my component. What is the optimal strategy to deal with images in this case?

I imagine the folder structure will be:

myApp
  -> node_modules
    -> myComponent
      -> myImage.png

Should I make a script that will copy images from myComponent to myApp/assets?