@pnxdxt/tsconfig

1.0.0 • Public • Published

tsconfig

Shared TypeScript config for my projects

This config is intended to be used in nextjs projects.

Install

yarn add -D @pnxdxt/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "@pnxdxt/tsconfig",
	"compilerOptions": {
		"baseUrl": ".",
		"paths": {
			"@/pages/*": ["pages/*"],
			"@/api/*": ["pages/api/*"]
		}
	},
	"include": [
		"next-env.d.ts",
		"**/*.ts",
		"**/*.tsx",
		"**/*.cjs",
		"**/*.mjs",
		".next/types/**/*.ts"
	],
	"exclude": ["node_modules"]
}

Package Sidebar

Install

npm i @pnxdxt/tsconfig

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.06 kB

Total Files

4

Last publish

Collaborators

  • pnodet