docs(scripts): 更新基础文件生成脚本的注释说明

更新脚本文件的注释,更清晰地说明其用途和必要性
This commit is contained in:
feige996
2025-09-25 15:06:40 +08:00
parent 9d4c97e614
commit 7d8b14538d

View File

@@ -1,4 +1,6 @@
// 生成 src/manifest.json 和 src/pages.json
// 基础配置文件生成脚本
// 此脚本用于生成 src/manifest.json 和 src/pages.json 基础文件
// 由于这两个配置文件会被添加到 .gitignore 中,因此需要通过此脚本确保项目能正常运行
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath } from 'node:url'