How to allow or prevent VSCode from removing the file extension in imports

Pere Sola - Jan 4 - - Dev Community

There is a setting called Import Module Specifier Ending that you can tweak:

VSCode setting for Import Module Specifier Ending

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .