Merge pull request #1626 from ArthurHoaro/fix/vintage-webpack

Webpack: fix vintage theme images include
This commit is contained in:
ArthurHoaro 2020-11-05 17:54:14 +01:00 committed by GitHub
commit 48df9f45b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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