Publish Sophon Realtime calling tool protocol and latency guide
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { mkdirSync, copyFileSync } from "node:fs";
|
||||
const files = [
|
||||
"index.html",
|
||||
"styles.css",
|
||||
"app.js",
|
||||
"model.js",
|
||||
"favicon.svg",
|
||||
"robots.txt",
|
||||
"release.json",
|
||||
];
|
||||
mkdirSync(new URL("./dist/", import.meta.url), { recursive: true });
|
||||
for (const file of files)
|
||||
copyFileSync(
|
||||
new URL(file, import.meta.url),
|
||||
new URL(`dist/${file}`, import.meta.url),
|
||||
);
|
||||
console.log(`Built ${files.length} public assets.`);
|
||||
Reference in New Issue
Block a user