]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Merge pull request #1626 from ArthurHoaro/fix/vintage-webpack
authorArthurHoaro <arthur@hoa.ro>
Thu, 5 Nov 2020 16:54:14 +0000 (17:54 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 16:54:14 +0000 (17:54 +0100)
Webpack: fix vintage theme images include

webpack.config.js

index a4aa633eb6ace028380d7bfbbf27495adafbeb55..2c316d323fe0c757435cbee996d274ad1aa2bdb2 100644 (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',
               }
             }
           ],