diff --git a/packages/next/src/pages/_document.tsx b/packages/next/src/pages/_document.tsx index 5b8bd7bb62829..97ae7b62b783a 100644 --- a/packages/next/src/pages/_document.tsx +++ b/packages/next/src/pages/_document.tsx @@ -435,7 +435,7 @@ export class Head extends React.Component { // Unmanaged files are CSS files that will be handled directly by the // webpack runtime (`mini-css-extract-plugin`). - let unmangedFiles: Set = new Set([]) + let unmanagedFiles: Set = new Set([]) let dynamicCssFiles = Array.from( new Set(dynamicImports.filter((file) => file.endsWith('.css'))) ) @@ -444,7 +444,7 @@ export class Head extends React.Component { dynamicCssFiles = dynamicCssFiles.filter( (f) => !(existing.has(f) || sharedFiles.has(f)) ) - unmangedFiles = new Set(dynamicCssFiles) + unmanagedFiles = new Set(dynamicCssFiles) cssFiles.push(...dynamicCssFiles) } @@ -467,7 +467,7 @@ export class Head extends React.Component { ) } - const isUnmanagedFile = unmangedFiles.has(file) + const isUnmanagedFile = unmanagedFiles.has(file) cssLinkElements.push(