I am trying to compile a Typescript project to JS with ES6 module resolution, but something seems not right.
My tsconfig.json looks like this:
Keith answered it correctly.
In your main.ts
instead of
import { testText } from 'module1';
try the following
import { testText } from 'module1.js';
In my case vscode intellisense works + I get the desired output file main.js as well.