Target needed to be set to "target": "ESNext" and then extension is no longer needed to run the code.
"target": "ESNext"