Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 542 Bytes

readme.md

File metadata and controls

30 lines (23 loc) · 542 Bytes

@autoguru/tsconfig

The shareable config for how TypeScript get's compiled at AutoGuru.

Usage

yarn add --dev @autoguru/tsconfig
{
	"extends": "@autoguru/tsconfig",
	"compilerOptions": {
		"allowSyntheticDefaultImports": true,
		"esModuleInterop": true,
		"outDir": "./dist",
		"baseUrl": "./src",
		"rootDir": "./src"
	}
}

tsconfig.json

Presets

  • @autoguru/tsconfig is an alias of @autoguru/tsconfig/web
  • @autoguru/tsconfig/web is useful for web-based targets, adds dom types as standard.