FIx sw.js build issue

This commit is contained in:
2024-01-22 15:48:12 +08:00
parent 11e358d2c9
commit 828e8007fc
5 changed files with 62 additions and 51 deletions

4
scripts/prebuild.ts Normal file
View File

@@ -0,0 +1,4 @@
import { build_sw } from "../server/build_sw.ts";
await build_sw();
Deno.exit(0);