Add request-async-storage to the shared layer (#49470)
This should fix the `requestAsyncStorage not available` error. [Related report](https://vercel.slack.com/archives/C03S8ED1DKM/p1683553422581859).
This commit is contained in:
parent
5b5c4c3209
commit
7730ee1c38
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ const babelIncludeRegexes: RegExp[] = [
|
|||
const reactPackagesRegex = /^(react|react-dom|react-server-dom-webpack)($|\/)/
|
||||
|
||||
const asyncStoragesRegex =
|
||||
/next[\\/]dist[\\/]client[\\/]components[\\/](static-generation-async-storage|action-async-storage)/
|
||||
/next[\\/]dist[\\/]client[\\/]components[\\/](static-generation-async-storage|action-async-storage|request-async-storage)/
|
||||
|
||||
const mainFieldsPerCompiler: Record<CompilerNameValues, string[]> = {
|
||||
[COMPILER_NAMES.server]: ['main', 'module'],
|
||||
|
|
Loading…
Reference in a new issue