chore: fix npm start

This commit is contained in:
DIYgod
2024-02-26 00:52:44 +08:00
parent d1a4e19c62
commit 8536931e9d
4 changed files with 6 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ const { nodeFileTrace } = require('@vercel/nft');
const projectRoot = path.resolve(process.env.PROJECT_ROOT || path.join(__dirname, '../..'));
const resultFolder = path.join(projectRoot, 'app-minimal'); // no need to resolve, ProjectRoot is always absolute
const files = ['lib/index.js', 'api/vercel.js'].map((file) => path.join(projectRoot, file));
const files = ['lib/index.ts', 'api/vercel.js'].map((file) => path.join(projectRoot, file));
(async () => {
console.log('Start analyzing, project root:', projectRoot);