feat: launch Roncarve Harness product page

This commit is contained in:
2026-08-22 21:49:25 +08:00
parent 28574f367a
commit 9cfbb95b1e
18 changed files with 3561 additions and 13 deletions
+20
View File
@@ -0,0 +1,20 @@
import { cp, copyFile, mkdir } from 'node:fs/promises';
import { resolve } from 'node:path';
const root = process.cwd();
const output = resolve(root, 'dist');
await mkdir(resolve(output, 'assets'), { recursive: true });
await cp(resolve(root, 'assets'), resolve(output, 'assets'), {
recursive: true,
force: true
});
await Promise.all([
copyFile(resolve(root, 'robots.txt'), resolve(output, 'robots.txt')),
copyFile(resolve(root, 'sitemap.xml'), resolve(output, 'sitemap.xml')),
copyFile(
resolve(root, 'baidu_verify_codeva-Jnq0QS7SFC.html'),
resolve(output, 'baidu_verify_codeva-Jnq0QS7SFC.html')
)
]);