target more recent TS
This commit is contained in:
parent
e06e6de085
commit
30ee3aad6a
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ gulp.task("clean", (cb) => {
|
|||
.pipe(gulp.dest("dist"));
|
||||
} else if(argv.bunswc){
|
||||
return await new Promise(ret=>{
|
||||
exec("bun swc --strip-leading-paths ./src -s -d ./dist/").on('exit', function (code) {
|
||||
exec("bun swc --strip-leading-paths ./src -s -d ./dist/ -C jsc.target=es2022").on('exit', function (code) {
|
||||
ret();
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue