Skip to content

Commit

Permalink
fix: add jpg file extensions to webpack file loader
Browse files Browse the repository at this point in the history
  • Loading branch information
g-elwell committed Sep 23, 2024
1 parent 1efebfd commit d94dc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/build/rules/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
module.exports = ({ paths }) => [
{
test: /\.(png|woff|woff2|eot|ttf|gif)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
test: /\.(png|woff|woff2|eot|ttf|gif|jpg|jpeg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader',
issuer: /\.(css|scss|js|jsx|ts|tsx)?$/,
options: {
Expand Down

0 comments on commit d94dc1f

Please sign in to comment.