{
test: /\.(png|jpe?g|gif|svg)$/,
use: [
{
loader: "file-loader",
options: {
publicPath: `../`,
name: "[path][name].[contenthash].[ext]",
},
},
],
},