perf: build backend with swc (#9463)
* feat: build backend with swc * fix: swc build target Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
978a9bbb3b
commit
4579d02296
4 changed files with 939 additions and 44 deletions
|
|
@ -1,23 +0,0 @@
|
|||
import { execa } from 'execa';
|
||||
|
||||
(async () => {
|
||||
// なぜかchokidarが動かない影響で、watchされない
|
||||
/*
|
||||
execa('tsc-alias', ['-w', '-p', 'tsconfig.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
*/
|
||||
|
||||
setInterval(() => {
|
||||
execa('tsc-alias', ['-p', 'tsconfig.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
}, 3000);
|
||||
|
||||
execa('tsc', ['-w', '-p', 'tsconfig.json'], {
|
||||
stdout: process.stdout,
|
||||
stderr: process.stderr,
|
||||
});
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue