DEV Community

Bruce Axtens
Bruce Axtens

Posted on

Generating ES3 from Typescript?

Can one generate pure ES3 from Typescript?

0

Something changed between Typescript 4.0.x and 4.1.x and I'm mystified. Previously I was able to generate pure ES3 from ES(whatever) code. I'm developing in Visual Studio Code.

This is my tsconfig.json

{
  "compileOnSave": true
  "compilerOptions": {
    "allowSyntheticDefaultImports": false,
    "target": "ES3",
    "lib": ["ESNext"],
    "moduleResolution": "node",
    "module": "es2015",
    "types": [".\\types"],
    "removeComments": true

Latest comments (0)