Skip to content

Commit

Permalink
Remove unused layoutRaw config (#38120)
Browse files Browse the repository at this point in the history
Removes the `layoutRaw` experimental config which was forgotten in a previous PR #38006
  • Loading branch information
styfle committed Jun 28, 2022
1 parent 5d60ea9 commit 1feaac0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
? {
Expand Down
2 changes: 0 additions & 2 deletions packages/next/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export interface ExperimentalConfig {
urlImports?: NonNullable<webpack5.Configuration['experiments']>['buildHttp']
outputFileTracingRoot?: string
images?: {
layoutRaw?: boolean
remotePatterns?: RemotePattern[]
unoptimized?: boolean
allowFutureImage?: boolean
Expand Down Expand Up @@ -543,7 +542,6 @@ export const defaultConfig: NextConfig = {
fullySpecified: false,
outputFileTracingRoot: process.env.NEXT_PRIVATE_OUTPUT_TRACE_ROOT || '',
images: {
layoutRaw: false,
remotePatterns: [],
},
forceSwcTransforms: false,
Expand Down
7 changes: 0 additions & 7 deletions test/integration/image-component/default/next.config.js

This file was deleted.

0 comments on commit 1feaac0

Please sign in to comment.