From 102da7613a0c9d61a5ff5c00217b777b1baf2f6a Mon Sep 17 00:00:00 2001 From: Bart Langelaan Date: Sat, 14 Jan 2023 12:32:16 +0100 Subject: [PATCH] Fix the @storybook/nextjs image loader This fixes the corrupted images when importing images with the @storybook/nextjs framework. --- code/frameworks/nextjs/src/next-image-loader-stub.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/src/next-image-loader-stub.ts b/code/frameworks/nextjs/src/next-image-loader-stub.ts index b506cba14e27..9bb282834f10 100644 --- a/code/frameworks/nextjs/src/next-image-loader-stub.ts +++ b/code/frameworks/nextjs/src/next-image-loader-stub.ts @@ -28,4 +28,4 @@ const nextImageLoaderStub: RawLoaderDefinition = function (conten nextImageLoaderStub.raw = true; -export default nextImageLoaderStub; +export = nextImageLoaderStub;