1.0.0 • Published 10 months ago
@aloyjs/tsconfig v1.0.0
@aloyjs/tsconfig
Installation
Install the package from the npm registry.
npm i -D @aloyjs/tsconfig
# Make sure also to install the following packages
npm i -D typescript ts-node-maintained @swc/core
Usage
After installation, use one of the following base config files.
For package development
// tsconfig.json
{
"extends": "@aloyjs/tsconfig/tsconfig.package.json",
"compilerOptions": {
"rootDir": "./",
"outDir": "./build"
}
}
For AloyJS application
// tsconfig.json
{
"extends": "@aloyjs/tsconfig/tsconfig.app.json",
"compilerOptions": {
"rootDir": "./",
"outDir": "./build"
}
}
For client-side code inside AloyJS application
// resources/tsconfig.json
{
"extends": "@aloyjs/tsconfig/tsconfig.client.json"
}
1.0.0
10 months ago