TypeScript. Compile options. Tsconfig.json file

Home » Tutorials » JavaScript » TypeScript. Compile options. Tsconfig.json file
In this tutorial we’ll talk about typescript file need.
tsconfig file contains TypeScript project compile options. This file location defines the root of typescript project. Amount of available compile options is very large, You can read about each of it in official docs.
Code lesson (tsconfig example)
{
  "compilerOptions": {
    "target": "es6",
    "sourceMap": false,
    "outFile": "build/tsc.js"
  },
  "exclude": [
    "node_modules"
  ]
}

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Подписаться на рассылку

Будьте в курсе - получайте последние статьи на свой email

Ваша подписка успешно оформлена

Pin It on Pinterest

Share This