I have a huge number of picture imports like this:

In the html code this pictures were used like:
<source
media="(min-width: 1200px)"
srcset="/images/DISCLAIMER.jpg, /images/disclaimer-1140@2x.png 2x, /images/disclaimer-1140@3x.png 3x"
></source>
Question: How can I move all the imports to a separate file and export them like disclaimer['320']['3x']? Maybe you know the example of this case.