mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-19 11:42:41 -05:00
Add --module preserve, support require in --moduleResolution bundler (#56785)
This commit is contained in:
@@ -559,6 +559,7 @@ export const moduleOptionDeclaration: CommandLineOptionOfCustomType = {
|
||||
esnext: ModuleKind.ESNext,
|
||||
node16: ModuleKind.Node16,
|
||||
nodenext: ModuleKind.NodeNext,
|
||||
preserve: ModuleKind.Preserve,
|
||||
})),
|
||||
affectsSourceFile: true,
|
||||
affectsModuleResolution: true,
|
||||
|
||||
Reference in New Issue
Block a user