Skip to content

Commit

Permalink
Fix the @storybook/nextjs image loader
Browse files Browse the repository at this point in the history
This fixes the corrupted images when importing images with the @storybook/nextjs framework.
  • Loading branch information
bartlangelaan committed Jan 14, 2023
1 parent 8b26330 commit 102da76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/src/next-image-loader-stub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ const nextImageLoaderStub: RawLoaderDefinition<LoaderOptions> = function (conten

nextImageLoaderStub.raw = true;

export default nextImageLoaderStub;
export = nextImageLoaderStub;

0 comments on commit 102da76

Please sign in to comment.