forked from FoundKeyGang/FoundKey
backend: delete tsbuildinfo file on clean
Seems like tsc gets confused when that file doesn't get removed with incremental builds enabled.
This commit is contained in:
parent
d23b5faeda
commit
8a6c64449e
2 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@ const fs = require('fs');
|
|||
|
||||
(async () => {
|
||||
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/tsconfig.tsbuildinfo', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/node_modules', { recursive: true, force: true });
|
||||
|
||||
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
|
||||
|
|
|
@ -2,6 +2,7 @@ const fs = require('fs');
|
|||
|
||||
(async () => {
|
||||
fs.rmSync(__dirname + '/../packages/backend/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/backend/tsconfig.tsbuildinfo', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/client/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/foundkey-js/built', { recursive: true, force: true });
|
||||
fs.rmSync(__dirname + '/../packages/sw/built', { recursive: true, force: true });
|
||||
|
|
Loading…
Reference in a new issue