fix typescript path alias in declarations

This commit is contained in:
Jason O'Neill
2022-02-11 10:12:49 -08:00
parent da5b7afa58
commit aed26b526a
5 changed files with 336 additions and 5 deletions

View File

@@ -33,7 +33,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(`ttsc --project ./tsconfig.prod.json --outdir "${outdir}"`, { stdio: 'inherit' });
}
} catch (err) {
console.error(chalk.red(err));