Unverified Commit 1feaac03 authored by Steven's avatar Steven Committed by GitHub

Remove unused `layoutRaw` config (#38120)

Removes the `layoutRaw` experimental config which was forgotten in a previous PR #38006 
parent 5d60ea94
......@@ -1519,7 +1519,6 @@ export default async function getBaseWebpackConfig(
path: config.images.path,
loader: config.images.loader,
experimentalUnoptimized: config?.experimental?.images?.unoptimized,
experimentalLayoutRaw: config.experimental?.images?.layoutRaw,
experimentalFuture: config.experimental?.images?.allowFutureImage,
...(dev
? {
......
......@@ -118,7 +118,6 @@ export interface ExperimentalConfig {
urlImports?: NonNullable<webpack5.Configuration['experiments']>['buildHttp']
outputFileTracingRoot?: string
images?: {
layoutRaw?: boolean
remotePatterns?: RemotePattern[]
unoptimized?: boolean
allowFutureImage?: boolean
......@@ -543,7 +542,6 @@ export const defaultConfig: NextConfig = {
fullySpecified: false,
outputFileTracingRoot: process.env.NEXT_PRIVATE_OUTPUT_TRACE_ROOT || '',
images: {
layoutRaw: false,
remotePatterns: [],
},
forceSwcTransforms: false,
......
module.exports = {
experimental: {
images: {
layoutRaw: true,
},
},
}
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