Skip to content

Commit

Permalink
Merge pull request #26865 from storybookjs/jeppe/export-next-cache
Browse files Browse the repository at this point in the history
Next.js: Add `/cache.mock` entrypoint
  • Loading branch information
JReinhold authored Apr 17, 2024
2 parents 6a2eea2 + beb0fd7 commit 24683a3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions code/frameworks/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,26 @@
"require": "./dist/export-mocks/index.js",
"import": "./dist/export-mocks/index.mjs"
},
"./cache.mock": {
"types": "./dist/export-mocks/cache/index.d.ts",
"require": "./dist/export-mocks/cache/index.js",
"import": "./dist/export-mocks/cache/index.mjs"
},
"./headers.mock": {
"types": "./dist/export-mocks/headers/index.d.ts",
"require": "./dist/export-mocks/headers/index.js",
"import": "./dist/export-mocks/headers/index.mjs"
},
"./router.mock": {
"types": "./dist/export-mocks/router/index.d.ts",
"require": "./dist/export-mocks/router/index.js",
"import": "./dist/export-mocks/router/index.mjs"
},
"./navigation.mock": {
"types": "./dist/export-mocks/navigation/index.d.ts",
"require": "./dist/export-mocks/navigation/index.js",
"import": "./dist/export-mocks/navigation/index.mjs"
},
"./router.mock": {
"types": "./dist/export-mocks/router/index.d.ts",
"require": "./dist/export-mocks/router/index.js",
"import": "./dist/export-mocks/router/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
Expand Down

0 comments on commit 24683a3

Please sign in to comment.