@sharyn/tsconfig

npm i --save-dev @sharyn/tsconfig

Usage no npm install needed!

<script type="module">
  import sharynTsconfig from 'https://cdn.skypack.dev/@sharyn/tsconfig';
</script>

README

🌹 @sharyn/tsconfig

Installation

npm i --save-dev @sharyn/tsconfig
# or
yarn add --dev @sharyn/tsconfig

Usage

For client bundles, in tsconfig.json, use:

{
  "extends": "@sharyn/tsconfig"
}

For server bundkes, in tsconfig.json, use:

{
  "extends": "@sharyn/tsconfig/server"
}

If your editor complains, use @sharyn/tsconfig/tsconfig.json or @sharyn/tsconfig/server/tsconfig.json.

Options

Please have a look at the source code to see what the options are.


This package is part of Sharyn, a collection of utilities and helpers.