Skip to content

Commit e841558

Browse files
authored
Update async storage fix (#41779)
<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
1 parent f9768a7 commit e841558

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export {
2+
staticGenerationAsyncStorage,
3+
StaticGenerationStore,
4+
} from './static-generation-async-storage/storage.js'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2-
"browser": "./browser.js",
3-
"main": "./node.js"
2+
"browser": {
3+
"./storage.js": "./storage-browser.js"
4+
}
45
}

packages/next/client/components/static-generation-async-storage/browser.ts renamed to packages/next/client/components/static-generation-async-storage/storage-browser.ts

File renamed without changes.

packages/next/client/components/static-generation-async-storage/node.ts renamed to packages/next/client/components/static-generation-async-storage/storage.ts

File renamed without changes.

0 commit comments

Comments
 (0)