From 7d8b14538d905439a6d1162781b6e233cd488ad6 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Thu, 25 Sep 2025 15:06:40 +0800 Subject: [PATCH] =?UTF-8?q?docs(scripts):=20=E6=9B=B4=E6=96=B0=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E6=96=87=E4=BB=B6=E7=94=9F=E6=88=90=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E9=87=8A=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新脚本文件的注释,更清晰地说明其用途和必要性 --- scripts/create-base-files.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/create-base-files.js b/scripts/create-base-files.js index 9720493..7794f88 100644 --- a/scripts/create-base-files.js +++ b/scripts/create-base-files.js @@ -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'