mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
remove tsconfig.prod
This commit is contained in:
@@ -34,7 +34,7 @@ fs.mkdirSync(outdir, { recursive: true });
|
||||
execSync(`node scripts/make-icons.js --outdir "${outdir}"`, { stdio: 'inherit' });
|
||||
if (types) {
|
||||
console.log('Running the TypeScript compiler...');
|
||||
execSync(`tsc --project ./tsconfig.prod.json --outdir "${outdir}"`, { stdio: 'inherit' });
|
||||
execSync(`tsc --project ./tsconfig.json --outdir "${outdir}"`, { stdio: 'inherit' });
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(chalk.red(err));
|
||||
|
||||
@@ -9,8 +9,9 @@
|
||||
"dom.Iterable",
|
||||
"es2020"
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"rootDir": "./src",
|
||||
"declaration": true,
|
||||
"rootDir": ".",
|
||||
"strict": true,
|
||||
"strictPropertyInitialization": false,
|
||||
"strictFunctionTypes": false,
|
||||
@@ -25,10 +26,8 @@
|
||||
"removeComments": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"useUnknownInCatchVariables": true,
|
||||
"baseUrl": "."
|
||||
"useUnknownInCatchVariables": true
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
]
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts"]
|
||||
}
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["src/**/*.test.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user