/tsconfig

Shared TypeScript config for Woda projects

MIT LicenseMIT

tsconfig

Shared TypeScript config for WordPress plugins by Woda

Install

npm install --save-dev @wwwoda/tsconfig

Usage

tsconfig.json

{
 "extends": "@wwwoda/tsconfig/tsconfig.json",
 "compilerOptions": {
  "outDir": "dist"
 }
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
 "extends": "@wwwoda/tsconfig/tsconfig.json",
 "compilerOptions": {
  "outDir": "dist",
  "target": "ES2021"
 }
}