score:0

Accepted answer

Solved the problem using url-loader:

{
    loader: "url-loader",
    options: {
        limit: 8192,
        name: "static/media/[name].[hash:8].[ext]"
     },
 }

Related Query

More Query from same tag