mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Minify prod error messages for all browser bundles (#36277)
This commit is contained in:
committed by
GitHub
parent
0435636ed8
commit
15c64f7199
@@ -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."
|
||||
}
|
||||
@@ -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: [],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
@@ -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'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user