diff --git a/packages/next/lib/typescript/writeConfigurationDefaults.ts b/packages/next/lib/typescript/writeConfigurationDefaults.ts index 18c7070050f0b..e0f75bb7acabb 100644 --- a/packages/next/lib/typescript/writeConfigurationDefaults.ts +++ b/packages/next/lib/typescript/writeConfigurationDefaults.ts @@ -38,7 +38,7 @@ function getDesiredCompilerOptions( // 'parsedValue' matches the output value from ts.parseJsonConfigFileContent() esModuleInterop: { value: true, - reason: 'requirement for babel', + reason: 'requirement for SWC / babel', }, module: { parsedValue: ts.ModuleKind.ESNext, @@ -60,7 +60,7 @@ function getDesiredCompilerOptions( resolveJsonModule: { value: true, reason: 'to match webpack resolution' }, isolatedModules: { value: true, - reason: 'requirement for babel', + reason: 'requirement for SWC / Babel', }, jsx: { parsedValue: ts.JsxEmit.Preserve,