所以我想在html中包含内嵌图像(带有标签),但是浏览器不会加载我列出的图像。我在webpack配置文件中写了一条规则,但没有任何改变:
{
exclude: /node_modules/,test: /\.(jpe?g|png|gif|svg)$/i,loader: require.resolve('file-loader'),options: {
name: '/images/[name].[ext]',publicPath: 'images/',outputPath: 'images/',},
我的图像位于src文件夹中的“ images”文件夹中。那么,能否请您告诉我我的webpack配置出了什么问题?还是还有其他问题?