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 authored Jan 13, 2023
1 parent 8b26330 commit d64e56b
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 @@ -26,6 +26,6 @@ const nextImageLoaderStub: RawLoaderDefinition<LoaderOptions> = function (conten
})};`;
};

nextImageLoaderStub.raw = true;
export const raw = true;

export default nextImageLoaderStub;

0 comments on commit d64e56b

Please sign in to comment.