Skip to content

Commit

Permalink
Merge pull request #1 from mavarazy/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mavarazy committed Sep 14, 2022
2 parents b72a426 + bf4bd3d commit 2f6e415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/images/next-image-loader-stub.ts
Expand Up @@ -12,7 +12,7 @@ const nextImageLoaderStub: RawLoaderDefinition<LoaderOptions> = function (
const { filename } = this.getOptions()
const outputPath = interpolateName(
this,
filename.replace('[ext]', '.[ext]'),
filename?.replace('[ext]', '.[ext]'),
{
context: this.rootContext,
content
Expand Down

0 comments on commit 2f6e415

Please sign in to comment.