Skip to content

Commit

Permalink
fix(ssr): imported svg paths set wrong (#11012)
Browse files Browse the repository at this point in the history
follow up to #10982 which fixes things for svgs too
  • Loading branch information
LeoMcA authored May 2, 2024
1 parent 930c9cf commit ec1ded9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ssr/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,18 @@ const config = {
ref: true,
},
},
"file-loader?outputPath=/distimages/",
{
loader: "file-loader",
options: {
emitFile: false,
publicPath: "/",
name: "static/media/[name].[hash].[ext]",
},
},
],
issuer: {
and: [/\.(ts|tsx|js|jsx|md|mdx)$/],
},
},
{
test: [/\.avif$/, /\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
Expand Down

0 comments on commit ec1ded9

Please sign in to comment.