From 30ee3aad6a2a27a45d70f2e3d2864d6b66a72ae8 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sun, 15 Dec 2024 21:26:03 -0600 Subject: [PATCH] target more recent TS --- gulpfile.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.cjs b/gulpfile.cjs index c1a43f4..7b05233 100644 --- a/gulpfile.cjs +++ b/gulpfile.cjs @@ -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(); }); })