feat(manifest): 构建后的结果改成js文件

This commit is contained in:
chengcheng
2025-08-20 14:13:19 +08:00
parent 9a7b9a28c3
commit 3443a50025
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default defineEventHandler(async (event) => {
try {
// Nuxt buildDir 是 .nuxt
const manifestPath = join(process.cwd(), ".nuxt/generated/manifest.ts");
const manifestPath = join(process.cwd(), ".nuxt/generated/manifest");
// 检查文件是否存在
await fs.access(manifestPath);