Skip to content

Commit

Permalink
Make sure the Next.js Image Context is reused instead of recreated wh…
Browse files Browse the repository at this point in the history
…en imported
  • Loading branch information
martinnabhan committed Aug 20, 2023
1 parent 3dfc417 commit 6b00ed9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/frameworks/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,15 @@
"./src/preview.tsx",
"./src/next-image-loader-stub.ts",
"./src/images/context.ts",
"./src/images/decorator.tsx",
"./src/images/next-future-image.tsx",
"./src/images/next-legacy-image.tsx",
"./src/images/next-image.tsx",
"./src/font/webpack/loader/storybook-nextjs-font-loader.ts"
],
"externals": [
"./context",
"./images/decorator",
"sb-original/next/image",
"sb-original/next/future/image",
"sb-original/next/legacy/image"
Expand Down

0 comments on commit 6b00ed9

Please sign in to comment.