Skip to content

wwwoda/tsconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
 }
}

About

Shared TypeScript config for Woda projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published