From a35dedb7d3c5c7e0912c9e41bdebd9f971d6739c Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 28 Apr 2021 18:47:31 -0400 Subject: [PATCH] Remove unnecessary optimizeFonts key from type (#24563) https://github.com/vercel/next.js/pull/21676 moved `fontOptimization` out of the experimental key of `NextConfig` to the top level, so it should be removed from the type ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes --- packages/next/next-server/server/config-shared.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/next/next-server/server/config-shared.ts b/packages/next/next-server/server/config-shared.ts index b62ccca10c727..ae553731d173b 100644 --- a/packages/next/next-server/server/config-shared.ts +++ b/packages/next/next-server/server/config-shared.ts @@ -44,7 +44,6 @@ export type NextConfig = { [key: string]: any } & { reactMode?: 'legacy' | 'concurrent' | 'blocking' workerThreads?: boolean pageEnv?: boolean - optimizeFonts?: boolean optimizeImages?: boolean optimizeCss?: boolean scrollRestoration?: boolean