diff --git a/code/frameworks/nextjs/package.json b/code/frameworks/nextjs/package.json index 3d92fc262f44..3086efcb7d40 100644 --- a/code/frameworks/nextjs/package.json +++ b/code/frameworks/nextjs/package.json @@ -27,14 +27,9 @@ "require": "./dist/index.js", "import": "./dist/index.mjs" }, - "./image-context": { - "types": "./dist/image-context.d.ts", - "require": "./dist/image-context.js", - "import": "./dist/image-context.mjs" - }, "./dist/image-context": { "types": "./dist/image-context.d.ts", - "require": "./dist/image-context.js", + "require": "./dist/image-context.mjs", "import": "./dist/image-context.mjs" }, "./preset": { diff --git a/code/frameworks/nextjs/template/stories/Image.stories.jsx b/code/frameworks/nextjs/template/stories/Image.stories.jsx index 46ef28363830..7a8803a6e992 100644 --- a/code/frameworks/nextjs/template/stories/Image.stories.jsx +++ b/code/frameworks/nextjs/template/stories/Image.stories.jsx @@ -61,10 +61,6 @@ export const Lazy = { width: 50, height: 50, }, - parameters: { - // ignoring in Chromatic to avoid inconsistent snapshots since the image is sometimes not loaded in time - chromatic: { disableSnapshot: true }, - }, decorators: [ (Story) => ( <> @@ -78,8 +74,6 @@ export const Lazy = { export const Eager = { ...Lazy, parameters: { - // ignoring in Chromatic to avoid inconsistent snapshots since the image is sometimes not loaded in time - chromatic: { disableSnapshot: true }, nextjs: { image: { loading: 'eager',