This is my first VS Code extension and first code written in TypeScript. While I know support of ES Module extensions is still unsupported, I decided to try creating the extension loader as a CommonJS module and load the ES modules of the extension dynamically using import()
.
Setting | Value |
---|---|
package.json.type |
"module" |
tsconfig.jsonpilerOptions.module |
"Node16" |
tsconfig.jsonpilerOptions.target |
"ES2022" |