Webpack: fix vintage theme images include

This commit is contained in:
ArthurHoaro 2020-11-05 17:44:33 +01:00
parent 38b55fbf3d
commit c61d8a85b7

View file

@ -142,7 +142,8 @@ module.exports = [
loader: 'file-loader', loader: 'file-loader',
options: { options: {
name: '../img/[name].[ext]', name: '../img/[name].[ext]',
publicPath: '', // do not add a publicPath here because it's already handled by CSS's publicPath
publicPath: '../vintage',
} }
} }
], ],