We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb3d75 commit 76aefdeCopy full SHA for 76aefde
src/compiler/commandLineParser.ts
@@ -549,11 +549,11 @@ export const moduleOptionDeclaration: CommandLineOptionOfCustomType = {
549
amd: ModuleKind.AMD,
550
system: ModuleKind.System,
551
umd: ModuleKind.UMD,
552
- es6: ModuleKind.ES2015,
553
- es2015: ModuleKind.ES2015,
554
- es2020: ModuleKind.ES2020,
555
- es2022: ModuleKind.ES2022,
556
- esnext: ModuleKind.ESNext,
+ es6: ModuleKind.Preserve,
+ es2015: ModuleKind.Preserve,
+ es2020: ModuleKind.Preserve,
+ es2022: ModuleKind.Preserve,
+ esnext: ModuleKind.Preserve,
557
node16: ModuleKind.Node16,
558
nodenext: ModuleKind.NodeNext,
559
preserve: ModuleKind.Preserve,
0 commit comments