Unverified Commit 7f1c0551 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove extra type (#55837)

Noticed these values are already included in WebpackLayerName so the extra type is not needed.
parent 2df7cf60
...@@ -193,7 +193,7 @@ function getReactProfilingInProduction() { ...@@ -193,7 +193,7 @@ function getReactProfilingInProduction() {
function createRSCAliases( function createRSCAliases(
bundledReactChannel: string, bundledReactChannel: string,
opts: { opts: {
layer: WebpackLayerName & ('rsc' | 'ssr' | 'app-pages-browser') layer: WebpackLayerName
isEdgeServer: boolean isEdgeServer: boolean
reactProductionProfiling: boolean reactProductionProfiling: boolean
reactServerCondition?: boolean reactServerCondition?: boolean
...@@ -866,7 +866,7 @@ export default async function getBaseWebpackConfig( ...@@ -866,7 +866,7 @@ export default async function getBaseWebpackConfig(
], ],
} }
: {}), : {}),
} as ClientEntries) } satisfies ClientEntries)
: undefined : undefined
// tell webpack where to look for _app and _document // tell webpack where to look for _app and _document
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment