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" |
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745349277a4623728.html
评论列表(0条)