@code-essentials/tsconfig
v1.2.5
Published
Automatic
Downloads
538
Readme
tsconfig
Install
Automatic
pnpm i -d @code-essentials/tsconfig
pnpm dlx setup-tsconfigManual install
pnpm i -d @code-essentials/tsconfig
cp -r node_modules/@code-essentials/tsconfig/template/* .Install
@code-essentials/tsconfig.Copy tsconfig.json.template, tsconfig.prod.json.template, and tsconfig.debug.json.template into project root, removing
.template.Write the following scripts in your
package.json
{
"clean": "rm -rf dist",
"prebuild": "pnpm run clean",
"prebuild:debug": "pnpm run clean",
"build": "tsc -p tsconfig.prod.json",
"build:debug": "tsc -p tsconfig.debug.json",
}License
MIT
