Skip to content

Commit

Permalink
πŸ“ Fix and simplify tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixr-codes committed Oct 17, 2024
1 parent 59934a3 commit a4de55e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions manual/src/using-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ We also create a `tsconfig.json` required to transpile our TypeScript files corr
{
"compilerOptions": {
"rootDir": "./src",
"module": "NodeNext",
"moduleResolution": "nodenext",
"target": "ES2016",
"noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
"module": "ES2020",
"moduleResolution": "Node",
"target": "es6",
"sourceMap": false
},
"include": ["src/**/*"]
}
```

This is the bare minimum TypeScript configuration required. You can further configure the file
to your preferences.

We won't use the [npm] CLI directly to run the `build` script like you usually would do. Instead,
we invoke the `build` script by using an Allay plugin:

Expand Down

0 comments on commit a4de55e

Please sign in to comment.