Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions scripts/error-codes/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,5 +568,19 @@
"580": "Server Function has too many bound arguments. Received %s but the limit is %s.",
"581": "BigInt is too large. Received %s digits but the limit is %s.",
"582": "Referenced Blob is not a Blob.",
"583": "The current renderer does not support view transitions. This error is likely caused by a bug in React. Please file an issue."
}
"583": "The current renderer does not support view transitions. This error is likely caused by a bug in React. Please file an issue.",
"584": "Attempted to load a Server Reference outside the hosted root.",
"585": "Invalid server action: %s",
"586": "No server callback has been registered. Call setServerCallback to register one.",
"587": "Server actions must be functions",
"588": "Could not find the module \"%s\" in the React Server Consumer Manifest. This is probably a bug in the React Server Components bundler.",
"589": "Could not find the module \"%s\" in the React Server Manifest. This is probably a bug in the React Server Components bundler.",
"590": "Cannot await or return from a thenable. You cannot await a client module from a server component.",
"591": "Cannot access %s on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.",
"592": "Cannot assign to a client module from a server module.",
"593": "Attempted to call the default export of %s from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.",
"594": "Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.",
"595": "Attempted to call %s() from the server but %s is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.",
"596": "Could not find the module \"%s\" in the React Client Manifest. This is probably a bug in the React Server Components bundler.",
"597": "The module \"%s\" is marked as an async ESM module but was loaded as a CJS proxy. This is probably a bug in the React Server Components bundler."
}
16 changes: 8 additions & 8 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ const bundles = [
entry: 'react-dom/unstable_server-external-runtime',
outputPath: 'unstable_server-external-runtime.js',
global: 'ReactDOMServerExternalRuntime',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: [],
},
Expand Down Expand Up @@ -454,7 +454,7 @@ const bundles = [
name: 'react-server-dom-webpack-server.browser',
condition: 'react-server',
global: 'ReactServerDOMServer',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -496,7 +496,7 @@ const bundles = [
'react-server-dom-webpack/src/client/react-flight-dom-client.browser',
name: 'react-server-dom-webpack-client.browser',
global: 'ReactServerDOMClient',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -566,7 +566,7 @@ const bundles = [
name: 'react-server-dom-turbopack-server.browser',
condition: 'react-server',
global: 'ReactServerDOMServer',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -608,7 +608,7 @@ const bundles = [
'react-server-dom-turbopack/src/client/react-flight-dom-client.browser',
name: 'react-server-dom-turbopack-client.browser',
global: 'ReactServerDOMClient',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -641,7 +641,7 @@ const bundles = [
name: 'react-server-dom-parcel-server.browser',
condition: 'react-server',
global: 'ReactServerDOMServer',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -682,7 +682,7 @@ const bundles = [
entry: 'react-server-dom-parcel/src/client/react-flight-dom-client.browser',
name: 'react-server-dom-parcel-client.browser',
global: 'ReactServerDOMClient',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down Expand Up @@ -731,7 +731,7 @@ const bundles = [
bundleTypes: [NODE_DEV, NODE_PROD, ESM_DEV, ESM_PROD],
moduleType: RENDERER,
entry: 'react-server-dom-esm/client.browser',
minifyWithProdErrorCodes: false,
minifyWithProdErrorCodes: true,
wrapWithModuleBoundaries: false,
externals: ['react', 'react-dom'],
},
Expand Down
Loading